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 Reminder Service Let millions of users set one-time and recurring reminders and fire each one exactly once within five minutes of its due time, through time zones, DST changes, edits and traffic spikes at the top of the hour. | Medium |
| Design a Restaurant Order Aggregator Pull orders from DoorDash, Uber Eats and Grubhub into one tablet and the restaurant's POS, sync status back to each platform, and publish one menu everywhere. | Medium |
| Design a Restaurant Reservation System Let diners find a table for a party size and time, book it without double-seating, and get confirmations and reminders on time, like OpenTable, with table assignment, popular drops and no-shows. | Medium |
| Design a Reviews and Ratings System Let users rate and review items, show an average and star histogram on every listing, keep aggregates right through edits and deletes, and rank items fairly when some have only a handful of ratings. | Medium |
| Design a Routing and Fleet Management System Track 200,000 vehicles live, plan optimized multi-stop routes for each day, keep ETAs accurate, and dispatch new jobs into running routes, for delivery and field-service fleets. | Medium |
| Design a Shipment Tracking System Track tens of millions of parcels a day through hubs, trucks and partner carriers, turning out-of-order scan events from many parties into a correct status, location history, ETA and notifications. | Medium |
| 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 Subscription Billing System Design billing for recurring subscriptions and pay-as-you-go usage, with exactly-once metering, proration, dunning, and a cost explorer whose estimates match the final invoice. | Medium |
| Design a Tagging Service One tagging service shared by an issue tracker, a wiki and a code host, that shows the tags on any item, lists every item with a tag, and ranks popular tags. | Medium |
| Design a Time Series Database Build a Prometheus-compatible time series database that ingests millions of samples a second, compresses them to about a byte and a half each, and keeps years of history with retention and downsampling. | Hard |
| Design a Weather App Show current conditions, hourly forecasts and alerts to millions of users, ingesting National Weather Service and third-party data so nothing on screen is more than 10 minutes behind its source. | Easy |
| Design a Web Search Engine Answer 100k queries a second over ten billion pages in a few hundred milliseconds, with an inverted index sharded across thousands of machines, multi-stage ranking and a fresh index. | Hard |
| Design a Webhook Delivery System Deliver events to thousands of customer endpoints with retries, signatures and isolation from slow receivers, plus an events API so a customer who missed deliveries can catch up. | Medium |
| Design a Workflow Engine Run long-lived, multi-step workflows that survive crashes, wait days for timers or human approvals, and connect third-party apps, from Temporal-style durable code to Zapier-style automations. | 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 Amazon Locker Let shoppers pick a self-service locker at checkout that is guaranteed to have room, let drivers drop off, and let customers open their compartment with a one-time code, even when the locker is offline. | Medium |
| Design an A/B Testing Platform Run a thousand concurrent experiments: assign users consistently, log exposures, turn 50 billion events a day into per-variant metrics, and report results you can trust. | Hard |
| Design an Ad Serving System Choose and serve an ad in under 500 ms, mixing direct campaigns with real-time bids from outside buyers, while pacing budgets, counting impressions for billing and filling ad breaks in streaming video. | Hard |
| Design an AI Video Generation Service Turn text prompts into videos with a Sora-like service, covering asynchronous jobs, a scarce GPU worker pool shared fairly across tiers, progress tracking and reliable webhook notifications. | Medium |