News for hackers. Stuff that matters.
Re:Gevent: the Good, the Bad, the Ugly by denik on Friday October 29, 2010 @03:15PM (#1848593)
gevent runs most of the protocol implementations written on top of standard socket and ssl modules. For example, pure Python mysql-connector works fine with gevent.

There's also a mysql driver for gevent implemented as an extension: http://github.com/mthurlin/gevent-MySQL

Re:Gevent: the Good, the Bad, the Ugly by suhail on Friday October 29, 2010 @03:29PM (#1848653)
I wouldn't recommend mysql-connector in production...

A while back we avoided gevent because of this but used eventlet instead because they had a native MySQL patched driver.

Performance on the pure connector was just too bad.

Re:Gevent: the Good, the Bad, the Ugly by denik on Friday October 29, 2010 @03:33PM (#1848676)
I mentioned mysql-connector as an example of a complex enough library that runs with gevent via monkey patching (in reply to "gevent only solves the most simple conversions by monkey patching", which is wrong).

Have you tried gevent-MySQL? It's written in Cython and as far as I know is fast.