Async IO Server with Blocking DB
Jon Clements
joncle at googlemail.com
Wed Apr 4 00:41:54 EDT 2012
On Tuesday, 3 April 2012 23:13:24 UTC+1, looking for wrote:
> Hi
>
> We are thinking about building a webservice server and considering
> python event-driven servers i.e. Gevent/Tornado/ Twisted or some
> combination thereof etc.
>
> We are having doubts about the db io part. Even with connection
> pooling and cache, there is a strong chance that server will block on
> db. Blocking for even few ms is bad.
>
> can someone suggest some solutions or is async-io is not at the prime-
> time yet.
>
> Thanks
Maybe look at Cyclone (a Tornado variation built on Twisted), and various modules that will offer synch and events - GIYF! It's doable!
Jon.
More information about the Python-list
mailing list