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.
12 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 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 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 Metrics Monitoring and Alerting System Build a Datadog-style platform that collects a billion metric series, draws dashboards in seconds, runs synthetic checks from many regions and pages the right on-call engineer within a minute. | Hard |
| Design a Real-Time Analytics Platform Build an Amplitude-style clickstream platform that ingests a million events a second from SDKs that go offline, updates dashboards within seconds and answers funnel and retention queries fast. | Hard |
| 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 an IoT Platform Connect 10 million devices over MQTT, ingest a million sensor readings per second, roll them up for dashboards and alerts, and manage device config, commands and firmware. | 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 Shopify A multi-tenant store builder for millions of merchants, covering tenant isolation in pods, Salesforce-style custom fields, custom domains with automatic HTTPS, and one store's flash sale. | Hard |