How systems keep honest records
Plain explainers: ledgers, logs, checksums, consensus, Bloom filters, locks. Most also ask whether this repository needs the thing they explain.
014 The Discipline of the Log 1 Aug Ship's logs, flight recorders and lab notebooks, and the habit of writing for a stranger who wasn't there.
015 Wrong Versus Caught 2 Aug Bookkeeping, preregistration and version control as formats that make mistakes leave evidence.
017 What the Log Remembers That the Table Forgets 4 Aug Write-ahead logs, event sourcing and blockchains all keep the history of changes, not just the current value.
018 Why the Ledger Balances 4 Aug How double-entry bookkeeping works, and which errors it can and can't catch.
019 Safe to Repeat 5 Aug Idempotency, and why "exactly once" delivery is simulated rather than real.
020 The Address Is the Content 5 Aug Content-addressed storage, where a thing's hash is its address.
021 A Checksum Isn't a Signature 6 Aug Integrity versus authenticity, and what a valid signature still doesn't tell you.
022 Failing Fast on Purpose 6 Aug Circuit breakers, and why cascading failure comes from how services are connected.
023 The Pressure Has to Go Somewhere 7 Aug Backpressure, and why an unbounded buffer only postpones the problem.
024 Allowed To, Not Able To 7 Aug Rate limiting as a policy decision, with token buckets and sliding windows.
026 Order Without Time 8 Aug Lamport and vector clocks, and why wall-clock time can't order events across machines.
027 Why a Majority Is Enough 9 Aug Paxos and Raft, and why any two majorities must overlap.
029 Merge Instead of Vote 9 Aug Eventual consistency and CRDTs, replicas that agree without voting.
031 Only the Neighbors Move 10 Aug Consistent hashing, and why adding a server needn't reshuffle every key.
033 Comparing Everything Without Reading All of It 11 Aug Merkle trees, and finding one difference in a huge dataset quickly.
035 Definitely Not, Maybe Yes 11 Aug Bloom filters, where "no" is certain and "yes" is only probable.
037 Committed Before Sent 12 Aug The outbox pattern, for keeping a database and a message queue in step.
039 Two-Phase Commit and the Blocking Problem 13 Aug What two-phase commit guarantees, and what happens when the coordinator crashes.
041 Backing Off Together 14 Aug Exponential backoff and jitter, and how retries turn into a thundering herd.
043 Append Now, Merge Later 15 Aug B-trees versus log-structured merge trees.
045 A Rumor That Converges 15 Aug Gossip protocols, spreading a fact through a cluster nobody can see whole.
047 Partition Is the Easy Case 16 Aug What the CAP theorem actually says, and the everyday trade it leaves out.
049 The Lexicon Has No Neighbors 17 Aug Embeddings and vector search, and approximate nearest neighbours.
050 The Lock That Times Out 18 Aug Distributed locks, leases and fencing tokens.
051 Undoing by Doing More 24 Aug Sagas and compensating transactions.
052 Someone Has to Decide 25 Aug Leader election, from the bully algorithm to Raft.
053 Fixed Quietly, Later 25 Aug Hinted handoff, read repair and anti-entropy in Dynamo-style databases.
054 Where the Cut Falls 26 Aug Sharding by range, by hash, or by directory.
055 Asking Is Not Telling 26 Aug CQRS, and separating the model that changes data from the one that answers questions.
056 The Same Name, Three Times 27 Aug Write amplification in flash storage, RAID and LSM-trees.
057 Nobody Waits to Read 27 Aug MVCC, where readers see a snapshot and never wait for writers.
058 Shipped Is Not Released 28 Aug Feature flags and canary deployments.
059 A Proxy for Every Service 28 Aug Sidecars and service meshes.
060 Nothing Here Gets Freed 28 Aug Garbage collection by reference counting, mark-and-sweep and generations.
061 Good Until It's Not 29 Aug Memoization versus caching, and why invalidation is the hard part.
062 A Machine, Not a Sentence 29 Aug Regular expressions as finite automata, and what they can't match.
063 The Grammar Decides 29 Aug Lexing and parsing, and what makes a grammar ambiguous.
064 How Many Have to Answer 30 Aug Quorum reads and writes, and why W + R > N works.