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 |
|---|---|
| Consensus: Raft and Paxos How a group of machines agrees on one value or one log despite crashes. Quorums, Raft's elections and log replication, Paxos, linearizable reads, leases, fencing and when to use etcd or ZooKeeper. | |
| Gossip Protocols How clusters share membership and state without a central server. Epidemic spread, push vs pull, anti-entropy, heartbeats, phi accrual and SWIM failure detection, and when gossip is the wrong tool. | |
| Idempotency and Deduplication Why duplicates are unavoidable in distributed systems and how to make them harmless. Naturally idempotent writes, idempotency keys, consumer dedupe, Kafka and SQS guarantees, and "exactly once". | |
| Multi-Region Architecture How to run one system in several regions. Latency physics, active-passive vs active-active, home regions and geo-partitioning, cross-region replication, global routing, failover, RPO/RTO and data residency. | |
| Resilience Patterns How to keep one failing dependency from taking the whole system down. Timeouts, retries with backoff and jitter, circuit breakers, bulkheads, backpressure, load shedding and disaster recovery. |