The Dial: quorum, R plus W greater than N, and tuning consistency by counting
The Dial is Episode 2 of Learning Maps, a Napkin Films series that turns system design into story. Consistency is not on or off. It is a dial you set by counting: with N copies, when your reads plus your writes are greater than N, a read is forced to overlap a write and see the latest truth. Hand drawn on a napkin, narrated by two cloned voices, scored with a 14 Hz focus layer. CC BY 4.0.
The Dial
Watch on YouTube. In the first room I told you a clean little lie: that consistency is a single choice, on or off. It is not. It is a dial, and you set it by counting. This is the second room of the map.
Licensed CC BY 4.0.
The idea
Say a record lives in three libraries, not two. Call them A, B and C. When you save a change, you do not have to wait for all three to agree. You can declare a write done once two of them have it. When you read, you can ask any two and take the newest answer.
Now count. Three copies. You write to two, you read from two. Two plus two is four, and four is greater than three, so the set you wrote and the set you read cannot miss each other. They are forced to overlap in at least one library, and that one library is holding the latest truth. That is the whole trick: when reads plus writes are greater than the number of copies, a read always catches the last write.
That single inequality is the dial. Turn the writes up and reads get cheap but writes get slow. Turn the reads up and the reverse. Tune it per request, even per call, to whatever that one story needs.
Keep the principle, rent the label
The principle you keep forever: consistency is bought by overlap, and overlap is just counting. You are not flipping a switch, you are setting two numbers so the sets have to meet.
The labels are this room's stickers. A textbook says quorum. A database says strong read versus eventual read. The cloud says read capacity and write capacity. Learn the counting once. The stickers peel off, and the next system will rename them.
The picture
The visuals are hand drawn ink that sketches itself on warm napkin paper, locked frame by frame to the narration so the slide lands on the word. Three buildings appear, a write lands in two, a read is drawn from two, and the overlap lights up exactly when it is spoken. The palette is a cartographer's field notebook: deep indigo ink, terracotta for the warnings, teal for what to keep. It is Python, PIL, and FFmpeg. No GPU.
The two voices, and a focus score
Two of my own cloned voices carry it. I host the open, the your-turn, and the sign off. Der Gouverneur, the measured Bavarian narrator, carries the teaching. Under the whole thing is a focus edition score: an ambient pad whose harmony follows the lesson's arc, plus a subliminal 14 Hz binaural layer for calm focus. Put on headphones.
More from Napkin Films
- The Forced Choice, Episode 1: CAP, PACELC, the trade every database already made.
- Just Enough Agreement, Episode 3: read your writes, and why not to over-buy consistency.
- The Language of Sound, the synthesis series.
License
This film is licensed CC BY 4.0 (Creative Commons Attribution 4.0 International). Remix it, repost it, drop it into your own thing. Credit Napkin Films / Organic Arts LLC and link CC BY 4.0. The engine code, Napkin Films and ChipForge, is GPL-3.0-or-later. ElevenLabs voice audio is licensed content and is not redistributed. Quorum and tunable consistency are standard distributed systems results. No copyrighted material was sampled.