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.
13 write-ups
| Title | Difficulty |
|---|---|
| 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 Block Storage Service like EBS Give virtual machines network disks on demand, with sub-millisecond replicated writes, placement that avoids fragmentation, incremental snapshots to object storage and safe failover. | Hard |
| 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 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 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 Ledger System Design a double-entry ledger that records every money movement immutably, serves correct balances under heavy concurrency, handles hot accounts and reconciles with the banks. | Hard |
| 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 GitHub Host hundreds of millions of git repositories with durable replicated storage, survive CI clone storms, keep pull requests correct as branches move, and search code across all of it. | Hard |
| Kafka What you need to know about Apache Kafka for system design interviews, including topics and partitions, consumer groups, replication and the ISR, delivery guarantees, retention and compaction, and scaling. | |
| 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. | |
| Amazon S3 What you need to know about Amazon S3 and object storage for system design interviews, including the data model, consistency, pre-signed URLs, multipart upload, CloudFront, storage classes and lifecycle rules. | |
| Apache Pulsar What you need to know about Apache Pulsar for system design interviews, including stateless brokers over BookKeeper, segments, subscription types, multi-tenancy, geo-replication and tiered storage, vs Kafka. | |
| Storage Engines and Indexes How databases lay data out on disk. Append-only logs, B-trees, LSM trees and compaction, Bloom filters, secondary and composite indexes, and row vs column storage, with the trade-offs that decide which to use. |