System design
System design, by breaking things
Start with the simplest version that works. Then something breaks, and you fix it. That is the whole interview.
Designs you break on purpose
The moves, each with code you can run
Every fix in a design is one of a small set of ideas.
Approximate LRU evictionHow Redis decides what to forgetToken bucket rate limitingStripe’s token bucket: saying “slow down” politelyThe append-only logLinkedIn’s big idea: the humble logHedged requestsHow Google makes slow requests rare: ask twiceRaft leader electionHow Kubernetes’ database picks a leaderExponential backoff with jitterWhy AWS adds randomness to “try again”Chaos engineeringWhy Netflix breaks its own servers on purposeIdempotency keysIdempotency keys: how Stripe avoids charging you twiceTrueTime and clock uncertaintyHow Google keeps time honest across the planetConsistent hashingThe ring that lets Discord add servers without chaosLSM treesWhy Google’s LevelDB writes to a pile firstHyperLogLogHow Reddit counts views without remembering every viewer
Or bring your own.
Paste any public GitHub link and see how it’s built. Free, nothing to install.