Simple thread pools

Jacob Friis lists at debpro.webcom.dk
Fri Nov 5 10:22:28 CET 2004


>>I'm setting NUM_FEEDERS to 1000.
>>Is that crazy?
> 
> Not crazy, but foolish.  Thread scheduling in Python reduces performance
> beyond a few dozen threads.  If you are doing system calls (socket.recv,
> file.read, etc.), your performance will be poor.

Is there no way via Python to download say 1000 files simultaneously?

- Jacob



More information about the Python-list mailing list