Replication Election and Consensus Algorithm Refinements for MongoDB 3.2

Replication Election and Consensus Algorithm Refinements for MongoDB 3.2

June 02, 2015

Internals

Spencer Brody, Software Engineer at MongoDB

Replica sets in MongoDB are built upon consensus algorithms for leader election and operation log replication. We will start with an overview of the architecture of replication in MongoDB, with special focus on our leader election protocol. After that we will dive into some of the changes we are making for our upcoming 3.2 release and will discuss how those changes lead to faster elections, more robust systems, and lay the groundwork for new replication features going forward.

Try MongoDB Atlas,
our new database as a service.

Now available on AWS, Azure, and GCP.