Consensus

Raft, Paxos and how replicas agree on one order.

All topics · 2 lessons · 27 resources

Learn Consensus on System Design Atlas

  1. 01Consensus: Raft and PaxosHow a group of machines agrees on one order of operations even when some crash or messages are delayed, and why a majority is the magic number.Advanced Distributed Systems · 12 min read · start here
  2. 02Distributed locks and leader electionMaking sure only one worker does a job at a time, and why a lock needs a lease and a fencing token to be safe.Core Concepts: How Things Actually Work · 9 min read

These share a lesson with Consensus.

Curated Consensus resources

GitHub

Case Studies

Blogs

Books

Documentation

Papers