Threaded server in python!?
Erik Max Francis
max at alcyone.com
Wed Jan 8 04:00:42 CET 2003
Giorgi Lekishvili wrote:
> asynchroneous? 'Cause I am afraid I havn't understand how to make
> work with ThreadingTCPServer:(((
For server work, asynchronous I/O is the alternative to multithreading
or process forking (in the rare cases where forking will suffice).
Asynchronous I/O really just means you use a select loop and handle each
request as quickly as possible. There are all sorts of frameworks which
make this easier, such as asyncore/Medusa, Twisted, etc.
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Nobody can reach me, nobody can touch me; it's a wonderful feeling.
Maths reference / http://www.alcyone.com/max/reference/maths/
A mathematics reference.
More information about the Python-list