Index

Module 02 · Data SystemsData on many machines

Consistency and Consensus

Consistency and Consensus
Consistency and Consensus · Open board

A precise map of what a group of machines can still promise each other once the network, the clocks, and time itself can’t be trusted: one strong guarantee, and the vote underneath it. The cut phone line (CAP, done properly) and Who holds the pen (consensus & Raft) drew the same two ideas on the System Design boards first; this lesson gives them their formal names.

Before you start. The previous lesson, When Machines Fail, showed why no machine in a group can fully trust the network: a message can be late, lost, or arrive after the machine that sent it has already been declared dead. This lesson asks what a group of such machines can still promise each other, and the answer needs only one more idea: a vote. If a network split forcing a choice between staying current and staying up is new, The cut phone line (CAP, done properly) in System Design shows it in one read.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Related paper

Review Data Systems →

Saved in this browser, and to your account when you sign in.