Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · Data Systems · Data on many machines · about 17 min to read

Play it as a journeyTutor comes with a plan

Beyond Raft: Paxos, its family, and liars

Consistency and Consensus
Consistency and Consensus · Open board

The vote that keeps a decided fact decided. This lesson takes that vote and asks what changes when the leader is far away, when there is no leader, and when a machine lies.

Before you start. Consistency and Consensus gave you the majority vote: any two majorities of the same group share a machine, so a decided fact cannot be undecided. It also gave you the leader and the term that Raft uses. When Machines Fail gave you the idea that a machine can be slow, stopped, or wrong, and that no machine can judge the whole group alone. Build Your Own Raft builds Raft, and Who holds the pen (consensus & Raft) runs it on a real etcd cluster, so this lesson does not rebuild either one.

Lesson 18 of 24 in Data Systems

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The problem: Raft is one answer, and it has three costs
  • Multi-Paxos: prepare once, then only ask
  • Viewstamped Replication: the same machine with another name for term
  • Flexible Paxos: the two votes need not be the same size
  • EPaxos: no leader, and a fast path
  • Byzantine fault: a machine that lies

Terms it explains: leader, Multi-Paxos, Viewstamped Replication, view, flexible quorum, EPaxos, fast path, Byzantine fault, Common mistakes, 2PC, causal consistency, consensus, coordination service, coordinator/participant, FLP, Lamport timestamp, linearizability, partial vs total order, Paxos/Raft/Zab, strict serializability, total order broadcast.

Related papers

Review Data Systems