[Python-Dev] how to debug httplib slowness (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Sep 4 21:15:18 CEST 2009
- Previous message: [Python-Dev] how to debug httplib slowness
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum <guido python.org> writes:
+1 on trying this. Constructing a 116MB string by concatenating 1KB buffers surely must take forever. (116MB divided by 85125 recv() calls give 1365 byte per chunk, which is awful.)
It certainly is quite small but perhaps the server tries to stay below the detected MTU? (not that there is necessarily any point in doing so for most HTTP content, IMO... except perhaps when the client does some progressive decoding)
- Previous message: [Python-Dev] how to debug httplib slowness
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]