On Sun, Sep 5, 2010 at 12:48 AM, Andy <selforgani...@gmail.com> wrote: > Thanks Pete. > > I'm definitely interested in using PyMySQL for production. > > I'm interested in running Django in an async mode using gevent (http:// > www.gevent.org/). gevent provides a money patch that turns any Python > code into non-blocking. The problem is that MySQLdb is written in C, > so it'd still block, which would kinda defeat the whole purpose of > having an async Django app if every database access is blocking.
Uh, no. MySQLdb releases the GIL on any blocking call, so other threads can run. Django is *not* asynchronous. It's threaded. -- Question the answers -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.