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.
46 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 Ride-Sharing App Match riders to nearby drivers in seconds like Uber, track trips live, price with surge, and match pooled rides and carpools whose routes overlap. | 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 Web Crawler Crawl ten billion pages in days without hammering any one site, crawling a URL twice or storing the same page twice, including a peer-to-peer version on 10,000 phones and crawling for LLM training data. | Hard |
| Design an Ad Click Aggregator Record a billion ad clicks a day, redirect users instantly, and give advertisers minute-level, near real-time reports that are accurate enough to bill on, even when one ad goes viral. | Hard |
| Design a Blob Store like S3 Store 100 PB of objects with eleven nines of durability, split into a strongly consistent metadata layer and an erasure-coded data layer, with multipart uploads and pre-signed URLs. | Hard |
| Design a Block Storage Service like EBS Give virtual machines network disks on demand, with sub-millisecond replicated writes, placement that avoids fragmentation, incremental snapshots to object storage and safe failover. | Hard |
| Design a CDN Serve customers' content from hundreds of edge locations, steer each user to a nearby one with anycast and DNS, protect the origin, and purge stale objects worldwide in seconds. | Hard |
| Design a CI/CD System Build and test every push on isolated runners like GitHub Actions or Jenkins, then roll the result out safely to a global server fleet, or over the air to millions of devices. | 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 Container Orchestrator Design Kubernetes from scratch, covering a declarative API on a consistent store, reconciliation loops, a scheduler that places containers on thousands of nodes, self-healing and rolling updates. | 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 Distributed File System Build a GFS/HDFS-style file system holding hundreds of petabytes, with chunked, rack-aware replicated data, a namespace that scales past one metadata server, and the parts of POSIX worth keeping. | Hard |
| Design a Distributed Job Scheduler Run millions of one-off and cron jobs a day on a fleet of workers, on time and without losing or double-running them, then extend it to GPU jobs and ML training submissions. | Hard |
| Design a Distributed Logging System Collect close to a petabyte of logs a day from every service, make them searchable within seconds, alert on log patterns and keep tamper-evident audit logs for years. | Hard |
| Design a Distributed Message Queue Build a queue service with partitions, replication, consumer groups, per-message acks, FIFO ordering and delayed delivery, durable enough that an acknowledged message is never lost. | Hard |
| Design a Flash Sale Site Sell 10,000 units to 10 million people who all click at the same second, without overselling and without taking the rest of the site down. | Hard |
| Design a Flight Search Engine Search flights across airlines and travel agencies like Skyscanner, Kayak or Google Flights, building connecting itineraries, streaming results from slow providers, caching prices and sending deal alerts. | Hard |
| Design a Food Delivery App like DoorDash Browse nearby restaurants and menus at 50k QPS, place and pay for an order, dispatch it to a courier and track it live on a map, as DoorDash, Uber Eats, Swiggy and Zomato do. | 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 |