MultiThread Socket on NT

Stephen shriek at gmx.co.uk
Sun Nov 18 22:04:51 EST 2001


> Your problem with performance could come from creating a new thread for
> every request.
> Depending on the OS, creating threads may be an expensive operation.
> 
> To have a better scalable solution, you could use a thread pool.

Is there any boilerplate "thread pool manager" code in Python ? 
I probably could cook something up but I'd hate to reinvent the 
wheel (especially when mine would probably be pear or square shaped)
and I'm not sure how to do synchronization in Python.

Thanks.

Stephen.



More information about the Python-list mailing list