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 you switch on or off. It is a dial, and you set it by counting. Here 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. Saving a change does not have to wait for all three to agree. A write counts as done once two of them have it, and a read can ask any two and take the newest answer.
Now count. Three copies, write to two, read from two. Two plus two is four, and four is greater than three, so the set written and the set read cannot miss each other. They are forced to overlap in at least one library, and that one library is holding the latest truth. So when reads plus writes are greater than the number of copies, a read always catches the last write, and that is the whole trick.
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 to keep forever is that consistency is bought by overlap, and overlap is just counting. Set two numbers and the sets have to meet.
The labels are this room's stickers. A textbook says quorum. A database says strong read versus eventual read, and Cassandra says consistency level ONE, QUORUM or ALL. Learn the counting once, because the stickers peel off and the next system renames them anyway.
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 hits 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 with terracotta for the warnings and teal for what to keep. It is all Python, PIL and FFmpeg, and there is no GPU in it.
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, on CAP and PACELC and the trade every database already made.
- Just Enough Agreement, Episode 3, on reading 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, and credit Napkin Films / Organic Arts LLC with a link to 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, and no copyrighted material was sampled.