We’re committed to supporting developers in our community through COVID-19. Learn more

Replication Election and Consensus Algorithm Refinements for MongoDB 3.2

June 02, 2015

Facebook ShareLinkedin ShareReddit ShareTwitter ShareGoogle+ Share


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 fully-managed
database as a service.

Available on AWS, Azure, and GCP.