System design

How distributed systems are put together, including the Learning Maps films that each explain one design pattern.

20 posts · all topics

A napkin sketch contrasting a cathedral with a sticky note, over a row of library buildings, in deep indigo ink on warm paper.
Projects • • 3 min

Just Enough Agreement: read your writes, and why not to over-buy consistency

Just Enough Agreement is Episode 3 of Learning Maps, a Napkin Films series that turns system design into story. Strong consistency is the expensive default, a cathedral when a sticky note would do. The skill is buying the cheapest guarantee the story actually needs: read your writes, monotonic reads, session consistency. Hand drawn on a napkin, narrated by two cloned voices, scored with a 14 Hz focus layer. CC BY 4.0.

A napkin sketch of three library buildings labeled A, B and C, a write landing in two of them and a read drawn from two of them, in deep indigo ink on warm paper.
Projects • • 3 min

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.

A grid of hundreds of small dark tiles on black, with a handful at the center glowing amber and faint lines running out from them
Essays • • 10 min

AWS Is Smaller Than It Looks

AWS is taught as two hundred services. Underneath it is a handful of primitives, and every service is a frozen answer to a distributed-systems trade-off. The map I built studying for the SAA-C03, and the two questions that decode any new AWS service.

A napkin sketch of two buildings joined by a phone line, a storm breaking the line, and the CAP triangle, in deep indigo ink on warm paper.
Projects • • 4 min

The Forced Choice: CAP, PACELC, and the trade every database already made

The Forced Choice is Episode 1 of Learning Maps, a new Napkin Films series that turns system design into story. A storm takes down the phone line between two librarians, and what happens next is the deepest fact in distributed systems: the CAP theorem, its twin PACELC, and the trade every database has already made. Hand drawn on a napkin, narrated by two cloned voices, scored with a 14 Hz focus layer. CC BY 4.0.