The copy clerks
You pay your tab at stall A and walk to stall B. What do they say you owe?
One register keeps the master book and three clerks keep copies. The evening plays out in fourteen moments of tabs and prices. The panels show the evening's script, what each book currently says, and a running count of answers that were true a moment ago. Drag the clerks further behind and more of those answers go stale.
Preparing for interviews? The ten-week plan puts this in order with DSA and the design rounds.
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 copy clerks (database replication)
The whole idea this lab came from, told start to finish.
on the path Module 1 of 32 in System Design: The stall gets famous
The lessons, boards and videos around this lab, in reading order.
see also Dynamo: Amazon's Highly Available Key-value Store, Time, Clocks, and the Ordering of Events in a Distributed System, Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services, Scaling Memcache at Facebook and Conflict-free Replicated Data Types in Papers.