I’m a staff engineer at MongoDB in New York City. I wrote Motor, the async MongoDB Python driver, and I’m the lead developer of the MongoDB C Driver. I contribute to PyMongo, asyncio, Python and Tornado. I study at the International Center for Photography and practice at the Village Zendo. You can read more about me or find me on Twitter.
Latest Articles
- Beginning a Zen Meditation Practice: 3-hour Saturday Workshop
Join me at the Village Zendo in NYC on September 30. Learn to meditate and bring Zen to your daily life.
- Announcing libbson and libmongoc 1.8.0
Enable network compression on Windows and use select() there, fix a rare crash in libbson.
- Help Me Offer Professional Coaching to PyGotham Speakers
There are many first-time speakers this year, let's give them the skills and confidence to give great talks.
- Window
August 19, 2017. The view out my window at the Village Zendo's summer retreat center.
- Tokuyu, Oshin, and Kaku
August 20, 2017. Zen priests at the Village Zendo's summer retreat.
… More Articles
Selected Articles
- For Or Against?: 9/11 and The Precept of Non-Killing
On the 15th anniversary of 9/11, I describe my difficulties practicing nonviolence in a world full of violence.
- How To Write Resilient MongoDB Applications
How should my code respond to network errors, outages, and other exceptions?
- Server Discovery And Monitoring In PyMongo, Perl, And C Our drivers' algorithms to discover and stay connected to your server, replica set, or sharded cluster.
- PyCon Video: "Eventually Correct: Async Testing" My PyCon 2015 talk about testing asynchronous code with Tornado's included AsyncTestCase.
- March To Triumph As A Mentor
I've failed as a mentor, and succeeded. Here are the warning signs I watch for, and the steps I take to design a mentorship for success.
- Python C Extensions And mod_wsgi If you use mod_wsgi, or you're the author of a Python C extension, it's time for you to learn how they interact.
- Review of "MongoDB Applied Design Patterns" by Rick Copeland
An excellent new O'Reilly book on MongoDB gives detailed, well-thought-out designs for a range of applications.
- Ordinary Zen
A portrait series of Zen practitioners.
- Optimizing MongoDB Compound Indexes
How to find the best multicolumn index for a complex query.
Projects
- libbson and libmongoc, the MongoDB C Driver libraries.
- Motor: A full-featured non-blocking MongoDB driver for Tornado.
- PyMongo: I help maintain the standard MongoDB driver for Python.
- GreenletProfiler: A performance profiler that groks greenlets and Gevent.
- A queue implementation for
asyncioin the Python 3.4 standard library. - I do portraits of Lower East Siders, residents of transitional housing, and American Buddhists.