I\'m under the impression that database calls through SQLAlchemy will block and aren\'t suitable for use in anything other than synchronous code. Am I correct (I hope I\'m n
Have a look at Tornado as they've got some neat non-blocking libraries, particularly tornado.gen.
We use that along with Momoko, a non-blocking psycopg wrapper lib for Tornado. It's been great so far. Perhaps the only drawback is you lose all the model object stuff that SQLAlchemy gives you. Performance is unreal though.