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.
6 write-ups
| Title | Difficulty |
|---|---|
| Consistent Hashing How to spread keys over a changing set of machines without reshuffling everything. Mod-N vs the hash ring, virtual nodes, replicas, rendezvous, jump and Maglev hashing, fixed slots and bounded loads. | |
| 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. | |
| Microservice Patterns When to split a system into services and how to wire them together. API gateways, backends for frontends, service discovery, sidecars and meshes, event-driven design, CQRS and splitting a monolith. | |
| 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. |