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.
28 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 Unique ID Generator Hand out unique, roughly time-ordered 64-bit IDs across many machines without coordination, plus strictly ascending sequences and idempotency keys for safe retries. | Easy |
| 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 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 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 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 Jira A multi-tenant issue tracker with custom fields and workflows, drag-and-drop kanban boards like Trello, comments with @mentions that notify the right people, and fast filtered search. | Medium |
| Design Splitwise Design an expense-sharing app where groups log shared costs with flexible splits, see who owes whom at a glance, and settle up with the fewest payments. | Medium |
| Cassandra What you need to know about Apache Cassandra for system design interviews, including partition and clustering keys, the token ring, the LSM write path, tunable consistency, repair and when its trade-offs fit. | |
| DynamoDB What you need to know about DynamoDB for system design interviews, including partition and sort keys, single-table design, GSIs and LSIs, capacity and hot partitions, consistency, transactions and Streams. | |
| Elasticsearch What you need to know about Elasticsearch for system design interviews, including mappings and analyzers, Lucene segments, shards and replicas, the write and query paths, CDC sync and its limits. | |
| PostgreSQL What you need to know about PostgreSQL for system design interviews, including MVCC, the WAL, isolation levels, indexes, replication, partitioning and sharding, plus when it's the right default. | |
| Redis What you need to know about Redis for system design interviews, including its data structures, single-threaded model, expiry and eviction, persistence, replication, Redis Cluster, common patterns and Memcached vs Redis. | |
| Amazon Aurora What you need to know about Amazon Aurora for system design interviews, including its shared log-structured storage, 4-of-6 quorums, replicas, failover, Global Database and its write limits. | |
| ClickHouse and OLAP Databases What you need to know about ClickHouse and OLAP databases for system design interviews, including columnar storage, MergeTree, sparse indexes, rollups, sharding, and how Druid and Pinot compare. | |
| CockroachDB What you need to know about CockroachDB for system design interviews, including ranges and Raft, leaseholders, write intents, parallel commits, clock uncertainty, retries and multi-region tables. | |
| 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. | |
| Google Spanner What you need to know about Google Spanner for system design interviews, including splits and Paxos, TrueTime and commit wait, external consistency, read types and multi-region setups. | |
| Graph Databases What you need to know about graph databases like Neo4j for system design interviews: the property graph model, Cypher, index-free adjacency, fan-out, super nodes and sharding graphs. | |
| MongoDB What you need to know about MongoDB for system design interviews, including the document model, embedding vs referencing, indexes, WiredTiger, replica sets, write concerns, sharding and change streams. |