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.
16 write-ups
| Title | Difficulty |
|---|---|
| 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 News Aggregator Pull articles from tens of thousands of publishers through RSS, push and crawling, group duplicate stories, and serve fast topic and personalized feeds, plus a variant that aggregates users' social media accounts. | Medium |
| 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 Recommendation System The serving and data side of recommendations, from Netflix-style home rows and "customers also bought" to an Instagram-style Explore feed, with candidate retrieval, ranking and freshness. | 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 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 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 ETL Pipeline Move data from Oracle, SaaS APIs and uploaded files into a warehouse on schedule or continuously with CDC, without missing rows, loading duplicates or overloading the source. | Medium |
| Design Mint A personal finance app that links bank accounts through an aggregator, keeps transactions in sync and categorized, and tracks monthly budgets with timely alerts. | Medium |
| Amazon Kinesis What you need to know about Amazon Kinesis for system design interviews, including shards and their limits, partition keys, consumers and enhanced fan-out, the KCL, resharding, Firehose, and Kinesis vs Kafka. | |
| Apache Flink What you need to know about Apache Flink for system design interviews, including the dataflow model, keyed state, event time and watermarks, windows, checkpoints and exactly-once, scaling, and Flink vs Spark. | |
| Apache Spark What you need to know about Apache Spark for system design interviews, including DataFrames, the driver and executors, stages and shuffles, Structured Streaming, deployment modes and Spark vs Flink. | |
| Data Warehouses What you need to know about data warehouses for system design interviews, including dimensional modeling, ELT, storage-compute separation in Snowflake, BigQuery and Redshift, and lakehouses on Iceberg and Delta. | |
| MapReduce and Hadoop What you need to know about MapReduce and the Hadoop ecosystem for system design interviews, including map, shuffle and reduce, HDFS, YARN, HBase, Hive, and what replaced them. | |
| Change Data Capture How to keep search indexes, caches, warehouses and other services in sync with a database by reading its log. Polling vs triggers vs log-based CDC, Debezium, ordering, snapshots and pitfalls. | |
| Stream vs Batch Processing When to compute over data in scheduled batches and when to process it as a stream. Event time, windows, watermarks, state, exactly-once, micro-batching, and Lambda vs Kappa. |