Event driven server that wastes CPU when threaded doesn't
Fredrik Lundh
fredrik at pythonware.com
Sun Oct 29 06:38:10 EST 2006
Snor wrote:
> Is the only solution to use a threaded server to let my clients make
> their requests and receive a response in the fastest possible time?
since the problem is that you need to wait for database anyway, maybe
you could use one or more threads to deal with the database, and keep
using events to talk to the clients?
</F>
More information about the Python-list
mailing list