Announcing the Next Generation Drivers for MongoDB

Andrew Erlichson


When developers get started with MongoDB, they are delighted to discover that it supports the programming languages they love. For as long as the database has been around, we’ve offered at least eight official drivers that help to make developers productive quickly. Moving in lockstep with the server to support all major changes, these drivers ensure that you’re always able to take advantage of the latest features in the database.

Over the years, each driver engineering team has designed its own approach to querying the database, providing fault tolerance, exposing database options, offering an asynchronous interface, and implementing dozens of other features. Each driver has also accumulated its fair share of technical debt, having been initially designed for a much simpler version of MongoDB.

Meanwhile, as MongoDB has proliferated and matured, the number of organizations that use more than one driver has increased. Although each driver strives to be idiomatic in the language it supports, there is little reason why the core CRUD API needs to vary across drivers, and after several years, there was some divergence.

We needed a fresh start, driven by more formal specifications and informed by all the learning we have collectively done since MongoDB was first introduced in 2009. We are excited to announce that in the next few weeks we will be rolling out new drivers for all languages that build on everything we've learned. Stay tuned for major releases from the Java, .NET, Python, Node.js, and Ruby teams. PHP and Perl will follow soon after. An updated C++ driver is also in development.

These new MongoDB drivers conform to published specifications.

  • Server Selection - Deciding which server to send database operations to in a MongoDB deployment.
  • Server Discovery and Monitoring - All the logic required to make a MongoDB application highly available.
  • CRUD API - The API for how we Create, Read, Update and Delete data from MongoDB.
  • Authentication - The rules for how to authenticate to MongoDB servers.

Let us know what you think!

As you are the developers using these drivers every day to access MongoDB, we both value and rely heavily on your input. You directly inform many of the choices made in the specifications. Please continue to give us feedback so we can make the best possible interface for you.

If you’d like to report an issue in a specific driver, please do so in the individual driver project in JIRA (e.g. <a href="" target="_blank"JAVA, PYTHON). See a full list of our JIRA projects here.

If you’d like to make a feature request or report an issue common to all drivers, please do so in the DRIVERS project.

We look forward to your feedback on this latest release.

To learn more about what's new in MongoDB 3.0, download the white paper below.

Discover MongoDB 3.0

About the Author - Andrew

Andrew Erlichson manages the engineering teams that create the developer experience around MongoDB, including MongoDB drivers, Documentation and Education. Prior to MongoDB, Andrew was CEO and founder of Phanfare, an online photo hosting company, now part of Carbonite. Prior to Carbonite, he was founder and CEO of Flashbase, a web service that offered self-service online database forms and analysis tools. Flashbase was acquired by DoubleClick. At DoubleClick, Andrew was Vice President of Technology for the Research and Development group. He has worked at Mips Computer Systems, Silicon Graphics and BlackRock. Andrew received his A.B. from Dartmouth College and his M.S. and Ph.D. in Electrical Engineering from Stanford University.