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 |
|---|---|
| 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. | |
| 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. | |
| CRDTs Data types that let replicas accept writes independently and still converge. Counters, registers, OR-sets, sequence CRDTs for text, version vectors, metadata costs and when to use CRDTs in a design. | |
| 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. | |
| 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. |