Replication Election and Consensus Algorithm Refinements for MongoDB 3.2

PublishedJune 2, 2015


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.