Asynchronous MongoDB with Python, Tornado, and Greenlets

Short Form


Using greenlets in Python to turn a synchronous database driver into an async driver.


I’m developing “Motor”, a mad science experiment in which I transform the synchronous Python driver for MongoDB into an asynchronous one, using Tornado and greenlets. I’m doing it all while maintaining the maximum shared code between the sync and async version. All tools and development are open source on GitHub.

Speaking experience

I've given evolving versions of this talk to two Meetups and I'm presenting a webinar covering similar ground next week:

I've also done a poster session at PyCon on MongoDB in general.


  • Profile


    A. Jesse Jiryu Davis is Python Evangelist, maintaining the Python driver and ensuring MongoDB and Python web frameworks play well together. Previously, he freelanced in the NYC startup scene building iOS apps and Python / MongoDB web services for Major League Baseball, GameChanger, and ShopWiki. Jesse has been building high-performance Python systems since 2004, when he joined Wireless Generation to develop their educational-data products. Jesse holds a BA in Computer Science from Oberlin College.