The map
One journal of a cell, from a write to the log. Each tag names the flavor that does the work at that place. Click a tag to open its page.
The course
Seven lessons, in order, one on each Paxos flavor. Each lesson is a group of recorded runs on one page. A run tells one idea per screen, and before some screens it asks what will happen. At the end of a run, the page offers the next run of the lesson.
Start here · 7 chapters · about 15 min▶ Watch the tourOne chapter for each of lessons 1 to 7. Press Play and watch the recorded runs, with no question. Each chapter ends with its lesson and its first exercise.- 01One valueAfter it, you can say why a later proposer must take the value that it finds, and why an acceptor writes to disk before it answers.17,153 states: TLC checked that two values are never chosen, with three acceptors, two values and three ballots (
decree/handover). - 02Who must answerAfter it, you can say which two sets of acceptors must share an acceptor, and count how many acceptors can fail.69 states: TLC checked that every Phase 1 quorum meets every Phase 2 quorum, in every grid of up to nine acceptors (
grid/grid). - 03Many values: the log and its leaderAfter it, you can follow one election and many writes, and say how a new leader recovers the log of a dead one.362,774 states: TLC checked that no two commands are chosen at one slot, with three acceptors, two slots and two ballots (
multi-paxos/majority). - 04Reads and truncationAfter it, you can say why a read asks a quorum and not the leader, and what a node does when the log that it needs is gone.663,441 states: TLC checked that a read sees every write that was acknowledged before it, with four acceptors and two ballots (
reads/reads_plain). - 05GridsAfter it, you can pick a write quorum and an election quorum on a grid, and say what each shape costs.176,882 states: TLC checked that the last leader always learns every slot that it proposed, on a 3 x 2 grid in two partitions with one acceptor down in each partition (
multi-paxos/partitions_down). - 06Split the leaderAfter it, you can name each role of a compartmentalized journal, and say what breaks when it stops.14,154 states: TLC checked that each write of a batch gets one range of the log, in order, with a leader change and a batcher that stops (
compartments/batch). - 07Change the acceptorsAfter it, you can follow one reconfiguration, and say why the old configurations can be forgotten.1,421,865 states: TLC checked that two values are never chosen across a reconfiguration, with three matchmakers and two ballots (
matchmaker/matchmaker).
Each lesson has a model in specs/tla/, and the figure is the count of distinct states that TLC 2.19 found in one run of it on2026-11-19 (or on the day that the lesson names), with no error.
Your progress stays in this browser only.
Then the concepts: one short entry for each idea that paros uses, such as catch-up, the writer fence and boot safety.
The flavors
Each flavor solves the problem in its line.
- Single-decree PaxosProblem: Many machines must agree on one value, and some of them fail. Flavor: Acceptors choose one value. The choice never changes.
- Multi-PaxosProblem: A journal needs many values in order, and two round trips per record is slow. Flavor: A log of slots. One leader runs Phase 1 once, then each write costs one round trip.
- Matchmaker PaxosProblem: Machines fail and get replaced while the journal takes writes. Flavor: Matchmakers keep the acceptors of each ballot. A change of acceptors is a new ballot.
- Compartmentalized PaxosProblem: One leader does all the work, so one machine sets the throughput. Flavor: The leader splits into roles that scale alone. The leader moves with no election.
- QuorumsProblem: Every write touches a majority of the acceptors. Flavor: The quorum system says which acceptors must answer each phase.
Words
Each flavor page links here the first time it uses one of these words.
- Acceptor
- A party that votes. It writes its promise and its votes to disk before it answers.
- Proposer, leader
- A proposer asks the acceptors to choose a value. A leader is a proposer that won Phase 1 and keeps its ballot for many slots.
- Ballot
- A number that puts the attempts to choose in order. It is a round and the node that made it, as round.node. A higher ballot wins over a lower one.
- Promise
- The answer of an acceptor in Phase 1. The acceptor will not vote at a lower ballot again, and it tells the votes that it gave before.
- Quorum
- A set of acceptors whose answers are enough for a phase. Each Phase 1 quorum shares an acceptor with each Phase 2 quorum.
- Chosen
- A value is chosen when a Phase 2 quorum votes for it at one ballot. A chosen value never changes.
- Slot
- One position in the log of a journal. Each slot is one single-decree Paxos.
- Configuration
- The acceptors and the quorum system that a ballot uses. A ballot keeps its configuration, and a new configuration needs a new ballot.