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.
| Title | Difficulty |
|---|---|
| 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 Configuration Management System Let engineers add, delete and search configuration, and push every change to a hundred thousand running service instances within seconds, safely, with history and rollback. | Medium |
| 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 Coupon System Promo codes with global, per-user and per-card redemption limits, time windows and referral rewards, enforced exactly under sale-day concurrency and kept in step with orders that fail or get refunded. | Medium |
| 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 Digital Wallet Design a stored-value wallet with top-ups, transfers, withdrawals and history that never double-spends, plus how a custodial crypto wallet changes deposits and withdrawals. | Medium |
| Design a Distributed Cache Grow a single memcached-style server into a cluster that serves millions of reads a second, evicts with LRU, survives node loss without crushing the database, and stays close to the source of truth. | Medium |
| 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 Lock Let many service instances agree on who owns a resource right now, with TTLs so crashed holders let go, fencing tokens so paused ones can't do damage, and seat holds as the worked example. | Medium |
| 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 Distributed Tracing System Follow one request across hundreds of services: propagate trace context, ingest OpenTelemetry spans, keep the traces that matter with tail sampling, and capture HTTP payloads safely. | Medium |
| Design a Donation App Take donations for charities during a time-limited fundraising event, charge every donor exactly once, show a live running total to a million viewers, and pay the money out to the right charities. | Easy |
| Design a Driver Location Heatmap Turn 375k driver location pings per second into a live heatmap of distinct drivers per area over the last 20 minutes in 1-minute buckets, and feed the same counts to surge pricing. | Medium |
| Design a Fantasy Sports Platform Let tens of millions of users build teams before a match locks, score every team live as the real game unfolds, rank huge contests in seconds and pay winners exactly once. | Medium |
| Design a Feature Flag System Turn features on for specific users, segments and percentages across environments and platforms, evaluate a million flags a second in-process, and audit every change. | Medium |
| 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 |