cost of creating threads

Bryan Olson fakeaddress at nowhere.org
Fri Oct 1 12:16:45 CEST 2004


Remco Boerma wrote:
 > In the documentation is a short comprehensive list of what server
 > options for handling connections are usefull in what situations. .
 > See chapter 15.1.2 on 
http://www.cherrypy.org/static/html/tut/node17.html .
 > While you have a tiny server, i would recommend a thread-pool of about 2
 > to 3 threads. This at least cuts down the time needed for thread 
creation.

What happens if all three threads are blocked, perhaps waiting
for server_b, when a new request comes in?


-- 
--Bryan



More information about the Python-list mailing list