[issue3766] socket.socket.recv broken (unbearably slow)

Antoine Pitrou report at bugs.python.org
Thu Sep 11 18:03:16 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Thorben, is the problem still there if you use fork() rather than
launching a separate thread for the server?

The implementation of the recv() method is straightforward and I don't
see anything that could cause a huge latency there, it's just a simple
wrapper over the C library's recv() function. The waiting certainly
occurs inside the OS rather than inside the Python interpreter.

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3766>
_______________________________________


More information about the Python-bugs-list mailing list