[Twisted-Python] How to accept connections faster

Ken Kinder ken at kenkinder.com
Wed Mar 23 17:59:34 MST 2005


Jp Calderone wrote:

>  Yea, async.  Async is nice.  Twisted comes with a moduled named "adbapi" that provides a non-blocking layer around standard DB-API 2.0 modules (such as MySQLdb).  You can read more about it here at <http://twistedmatrix.com/documents/current/howto/enterprise>.
>  
>
Keep in mind adbapi is just a wrapper for synchronous libraries that 
uses threading. Ideally you would write asynchronous clients for the SQL 
databases -- I've been thinking about doing just that for MySQL. That 
is, I've been thinking, NOT doing.





More information about the Twisted-Python mailing list