Event driven server that wastes CPU when threaded doesn't

Snor leo at snorland.com
Sun Nov 5 08:36:18 EST 2006


> You got a lot of long-winded replies, but the short reply is that
> Twisted has packaged solutions for this. Seehttp://twistedmatrix.com/projects/core/enterprise
>
>   "Twisted provides an interface to any Python DB-API 2.0 compliant
> database through an asynchronous interface which allows database
> connections to be used, and multiplexed by multiple threads, while still
> remaining thread-safe for use with Twisted's event-based main loop.
> Twisted Enterprise provides these services by leveraging Twisted
> Internet's utilities for managing thread pools and asynchronous
> programming."

Thanks for this - exactly what I needed. Thanks for the other replies
too even if they weren't so much help :)




More information about the Python-list mailing list