Case Studies
Full interview case studies: framing, fault lines, failure modes, rubrics, drills and incident deep dives, from L5 through L7.
Traffic & Edge
Everything between the user's request and your first service.
- Content Delivery NetworkWhat do you serve when the origin is gone?69 min · 7 diagrams
- Load BalancingHow do you spread load when backends aren't equal?87 min · 6 diagrams
- Edge GatewayWhat belongs at the front door, and what must never live there?68 min · 6 diagrams
- Rate LimiterWho gets throttled when the counter store is down?91 min · 10 diagrams
- Service RegistryWhat do callers do when the registry itself is wrong?70 min · 6 diagrams
Resilience & Operations
How systems fail, recover, and get changed safely.
- Stopping Cascading FailuresHow does one slow dependency take down everything, and where do you cut it off?83 min · 9 diagrams
- Multi-Region Active-ActiveTwo regions accepted conflicting writes. Which one wins?80 min · 8 diagrams
- Metrics & Alerting PlatformWhat do you drop when telemetry outgrows the budget?66 min · 7 diagrams
- Autoscaling & CapacityHow much headroom do you pay for, and who decides?71 min · 8 diagrams
- Feature Flags & ConfigHow do you change production behaviour in seconds without a deploy?97 min · 10 diagrams
- Deployment SystemHow do you ship a thousand changes a day and roll back any of them?97 min · 10 diagrams
- Distributed TracingYou keep 1% of traces. Is the one from the incident among them?79 min · 9 diagrams
- Log Aggregation PlatformLog volume jumps 6× during the outage. Whose logs do you drop?80 min · 8 diagrams
Storage & Retrieval
Where data lives and how it's found again.
- Replicated Key-Value StoreHow many copies have to agree before a write counts?74 min · 8 diagrams
- Sharded DatabaseHow do you split a database that can't stop taking writes?67 min · 8 diagrams
- Distributed CacheWhen the cache and the database disagree, who is right?89 min · 11 diagrams
- Object StorageHow do you promise eleven nines and keep the promise?72 min · 7 diagrams
- Choosing a DatabaseWhich database will you regret least in three years?74 min · 8 diagrams
- Search EngineHow fresh does an index have to be before users notice?57 min · 7 diagrams
- Search TypeaheadHow do you suggest the rest of the query before the next keystroke?74 min · 8 diagrams
Async & Streaming
Work that happens after the request returns.
- Message BrokerWhat happens to a message nobody can process?89 min · 7 diagrams
- Stream Processing EngineHow late can an event arrive and still count?58 min · 6 diagrams
- Ad Click AggregatorHow do you count billions of clicks exactly once when money depends on it?81 min · 7 diagrams
- Job SchedulerHow do you run a job exactly when, and exactly once?73 min · 6 diagrams
- NotificationsWhich messages are worth waking someone up for?60 min · 6 diagrams
- Web CrawlerHow do you crawl the web without being banned from it?73 min · 8 diagrams
- Webhook Delivery PlatformOne customer's endpoint takes 30 seconds to answer. Why should anyone else wait?79 min · 9 diagrams
- Email Delivery ServiceGmail said 250 OK. Did anyone see the password reset?88 min · 9 diagrams
Money & Correctness
Where one wrong answer costs real money or trust.
- PaymentsHow do you never charge twice and never lose a payment?76 min · 9 diagrams
- Idempotency & Exactly-OnceThe client retried, and the first attempt actually worked. Now what?81 min · 9 diagrams
- ID GenerationHow do you hand out unique, sortable IDs with no single point of failure?83 min · 7 diagrams
- Distributed Lock ServiceWhat stops a paused process from acting on a lock it already lost?82 min · 8 diagrams
- Consensus ServiceWho decides when nodes can't agree?70 min · 10 diagrams
- Stock ExchangeHow do you make "first come, first served" fair to the microsecond?66 min · 7 diagrams
- Login & SessionsWhat breaks when the identity service is down?93 min · 12 diagrams
- Ledger & Digital WalletTwo taps hit a $50 balance in the same millisecond. Which one fails, and where?86 min · 9 diagrams
- Key Management ServiceA customer revokes their key. How many minutes until you stop reading their data?89 min · 9 diagrams
Booking & Inventory
Scarce things, many buyers.
- Hotel & Home BookingTwo guests, one night: who wins, and who tells the loser?69 min · 8 diagrams
- Ticket Drops & Flash SalesA million people, ten thousand seats, one second.61 min · 7 diagrams
- Calendar & SchedulingHow do you find a free hour for eight people across five time zones?103 min · 10 diagrams
Real-Time & Collaboration
Many people, one shared state, right now.
- Chat AppHow does a message reach every device, exactly once and in order?64 min · 6 diagrams
- Live UpdatesWho owns a million open connections when a server restarts?65 min · 7 diagrams
- Collaborative DocumentsHow do twenty cursors edit one paragraph without conflict?70 min · 7 diagrams
- Multiplayer Game BackendWhose view of the world is true when players lag?97 min · 10 diagrams
- Cloud File SyncTwo laptops edited the same file offline. Now what?78 min · 6 diagrams
- Video Conferencing ServiceOne person joins from a train. Why should eleven others watch blurry video?85 min · 9 diagrams
Location & Marketplaces
Matching supply and demand on a map.
Social & Media
Feeds, video and counters at consumer scale.
- News FeedPush to followers or pull at read time, and what about celebrities?57 min · 6 diagrams
- Video StreamingHow do you start playback in a second, anywhere in the world?86 min · 10 diagrams
- LeaderboardHow accurate does rank #4,812,301 really need to be?63 min · 6 diagrams
- URL ShortenerWhat turns a ten-minute problem into a Staff one?66 min · 7 diagrams
- Online Code RunnerHow do you run strangers' code safely, at contest scale?70 min · 8 diagrams
- Ad Serving & AuctionsA campaign goes viral at 9 a.m. How much of its budget do you overspend before you notice?83 min · 9 diagrams
- Photo Upload & StorageThe upload dies at 80% in a tunnel. The user taps retry. Do they get one photo or two?86 min · 9 diagrams