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.
32 write-ups
| Title | Difficulty |
|---|---|
| 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. | |
| Geospatial Indexing How systems answer "what's near me?" quickly, covering geohashes, quadtrees, Hilbert curves and S2, Uber's H3, PostGIS and R-trees, and Redis GEO, plus how to choose one and handle moving objects. | |
| 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. | |
| 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. | |
| Temporal What you need to know about Temporal for system design interviews, including durable execution, event history and replay, sagas, scaling, and how it compares to Airflow and Step Functions. | |
| 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 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. | |
| 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. | |
| Amazon SQS and SNS What you need to know about Amazon SQS and SNS for system design interviews, including visibility timeouts, standard vs FIFO queues, dead-letter queues, SNS fan-out and filtering, and when to pick them over 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 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. | |
| 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. | |
| AWS Lambda What you need to know about AWS Lambda for system design interviews, including the execution model, invocation types, cold starts, concurrency and scaling, pricing, retries and when serverless fits. | |
| 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. | |
| Docker What you need to know about Docker for system design interviews, including images and layers, namespaces and cgroups, the runtime stack, networking, volumes, isolation limits and image distribution. |