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

System DesignNetwork partitions: CAP

The cut phone line

The line between the branches is cut. What does the far clerk say to the customer in front of them?

Two branches of the same stall share one ledger over a phone line, and tonight that line gets cut. The tabs set what the far branch does while it is out: keep answering, refuse, or decide question by question. Watch the turned-away count trade against the conflicting entries somebody has to reconcile.

Included with a plan

This lab 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.

the lesson The cut phone line (CAP, done properly)
The whole idea this lab came from, told start to finish.

on the path Module 2 of 32 in System Design: When the stalls must agree
The lessons, boards and videos around this lab, in reading order.

Board: The Cut Phone Line

see also Dynamo: Amazon's Highly Available Key-value Store, Spanner: Google's Globally-Distributed Database, Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services, Paxos Made Simple and Conflict-free Replicated Data Types in Papers.