System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
14 write-ups
| Title | Difficulty |
|---|---|
| Design a Distributed Key-Value Store Build a Dynamo-style key-value store that spreads 100 TB across hundreds of nodes, survives machine and zone failures, and lets each read choose between fast and strongly consistent. | Hard |
| Design a Ticket Booking System Let millions of people pick seats for concerts, movies and trains without selling a seat twice, with seat locking, a waiting room for on-sales, booking across theater chains and train seats sold by segment. | Hard |
| Design a Collaborative Whiteboard like Figma A shared canvas where many people draw, drag and resize the same shapes at once, with live cursors, smooth motion and a clear rule for who wins when two people move one object. | Hard |
| Design a Crypto Exchange like Coinbase Design a custodial crypto exchange that credits on-chain deposits safely, lets users buy, sell and withdraw, matches orders around the clock and keeps private keys out of reach. | Hard |
| Design a Ledger System Design a double-entry ledger that records every money movement immutably, serves correct balances under heavy concurrency, handles hot accounts and reconciles with the banks. | Hard |
| Design a Payment System Build a Stripe-like payment service that authorizes, captures and refunds card payments exactly once, survives timeouts to banks, and routes across processors. | Hard |
| Design a Sports Betting Platform Stream fast-moving odds, accept bets only at prices still on offer, cap risk on hot markets, settle millions of bets exactly once, and see how a prediction-market exchange differs. | Hard |
| Design a Stock Exchange Match buy and sell orders for thousands of symbols in microseconds, with a single sequenced history that makes the engine deterministic, replayable and fair. | Hard |
| Design a Zero-Downtime Database Migration Move a live, 2 TB database to a new store and schema with no downtime, using backfill, dual writes or a trigger changelog, shadow reads and a reversible cutover; plus merging 30 regional databases. | Hard |
| Design an Authorization Service like Zanzibar A central permissions service that answers "can this user do this to this object?" in milliseconds, for page sharing, nested groups, B2B roles and IAM-style policies. | Hard |
| Design an Online Banking System Design a bank's online platform with accounts, transfers, real-time credit card authorization against limits and holds, and monthly statements. | Hard |
| Design Google Docs Let dozens of people type into the same document at once, see each other's changes in milliseconds, keep working offline, and always end up with the same text. | Hard |
| Design Robinhood Design a retail brokerage app that streams live prices for 7,000 tickers to millions of users, draws historical charts, routes orders to the market and survives a crash-day stampede. | Hard |
| Design Venmo Design a peer-to-peer payments app like Venmo, Cash App or Zelle with instant transfers, requests, scheduled payments and a social feed, built on event sourcing. | Hard |