cost of creating threads

Remco Boerma remco at tomaatnet.nl
Thu Sep 30 04:52:57 EDT 2004


hi,

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.

Cheers!
Remco

Ajay wrote:
> hi!
> 
> i have an application that runs on a pocket pc. the application has a
> server which responds to UDP requests. each request contains the address
> of another server (say, server_b). the pocket pc server recieves these UDP
> requests and creates an SSL client connection to sercer_b
[snip]



More information about the Python-list mailing list