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.
5 write-ups
| Title | Difficulty |
|---|---|
| Back-of-the-Envelope Estimation How to estimate QPS, storage, bandwidth and server counts quickly and use them to make design choices. Time and size shortcuts, latency and throughput numbers, worked examples and common mistakes. | |
| Caching Strategies Where to cache, how to read and write through a cache, eviction, invalidation and its race conditions, and the failure modes that matter at scale: stampedes, penetration, avalanches and hot keys. | |
| Data Modeling for System Design How to design the data model in an interview. Entities and access patterns, relational schemas and indexes, denormalization, partition and sort keys, embedding vs referencing, IDs and schema changes. | |
| Sharding, Partitioning and Replication How to split data across machines and keep copies of it. Leader, multi-leader and leaderless replication, replication lag, range vs hash sharding, shard keys, hot spots, secondary indexes and rebalancing. | |
| Real-Time Updates How to push changes to clients as they happen. Polling, long polling, SSE and WebSockets, then routing updates to the right server with pub/sub, catching up after reconnects and scaling connections. |