In your case you could switch to a pure Python MySQL driver and gevent will turn all your mySQL calls into async.
Actually there're also gevent non-blocking MySQL drivers that are written in C.
In your case you could switch to a pure Python MySQL driver and gevent will turn all your mySQL calls into async.
Actually there're also gevent non-blocking MySQL drivers that are written in C.