Skip to content

PAPERS EXPLAINED · CONSENSUS

Consensus papers: a reading list

How a group of machines agrees on one value or one log, even when some of them fail. 4 papers, oldest first, each with a plain-language explanation and a short quiz.

Consensus is the problem of getting a group of machines to agree on a single value, or on the same sequence of values, even though some of them may crash and the network may delay or lose messages. It sounds simple, and it sits underneath almost every reliable distributed system: replicated databases, configuration stores, lock services and leader election all reduce to some form of agreement.

The difficulty is precise. In 1985 Fischer, Lynch and Paterson showed that in a fully asynchronous system, where messages can take arbitrarily long, no deterministic protocol can guarantee that it will always reach agreement if even one process may fail. Practical algorithms live with this result by staying safe at all times, never letting two machines decide different values, while making progress only when the network behaves well enough for long enough.

Leslie Lamport’s Paxos was the first widely studied algorithm of this kind. Its core is a two-phase exchange in which a proposer must win promises from a majority of acceptors before a value can be chosen; because any two majorities overlap, a chosen value can never be forgotten. Paxos Made Simple restates the idea in a few pages, and Paxos Made Live describes what it took to turn it into a production system at Google, from disk corruption to testing.

Raft was designed to teach the same guarantees more clearly. It separates leader election, log replication and safety, and uses a strong leader so that the log flows in one direction. Many open-source coordination systems follow its structure.

Crash failures are only part of the story. The Byzantine Generals Problem asks what happens when some participants behave arbitrarily, even maliciously, and shows that tolerating f such participants needs more than three times as many in total. That result shapes everything from fault-tolerant hardware to blockchains.

Read the papers here in order: the impossibility and the basic algorithms first, then the engineering accounts. As you read, keep two questions in mind: what does the algorithm assume about failures and timing, and where exactly does it need a majority?

The papers below are listed oldest first, so the ideas each one builds on come before it. Every page explains the paper in plain language: the problem it addresses, the core idea, how it works step by step, its results and limitations, and why it still matters. Each ends with a short quiz. The original paper is always linked at its author’s, publisher’s or arXiv’s copy; read it alongside the explanation rather than instead of it.

  1. Byzantine Generals: The Byzantine Generals Problem

    Leslie Lamport, Robert Shostak, Marshall Pease · ACM TOPLAS 1982

    Healthy components can agree despite faulty ones sending conflicting information only if more than two-thirds are healthy, when messages are unsigned. With unforgeable signatures, agreement is possible for any number of faulty components.

  2. Paxos: Paxos Made Simple

    Leslie Lamport · ACM SIGACT News 2001

    Lamport re-explains Paxos in plain English. He derives a two-phase consensus protocol from its safety requirements, then shows how a leader running many consensus instances can implement a fault-tolerant replicated state machine.

  3. Paxos Made Live: Paxos Made Live: An Engineering Perspective

    Tushar D. Chandra, Robert Griesemer, Joshua Redstone · ACM PODC 2007

    Google's engineers describe building Chubby's replicated database on Paxos. They show that a production system needed many extensions, careful testing and operational safeguards beyond the textbook algorithm, and that it outperformed the commercial database it replaced.

  4. Raft: In Search of an Understandable Consensus Algorithm

    Diego Ongaro, John Ousterhout · USENIX ATC 2014

    Raft is a consensus algorithm for managing a replicated log that the authors designed to be easier to understand than Paxos. It splits consensus into leader election, log replication, and safety, and a user study suggests students learn it more easily.

All papers explained →