Distributed Systems Theory
CAP and PACELC, consistency models, quorums, consensus, clocks, and distributed transactions.
-
CAP, PACELC & Failure Models
What CAP says and how it gets misquoted, PACELC, and fail-stop vs Byzantine faults.
-
Consistency Models
Linearizability, sequential consistency, causal consistency, eventual consistency, and the session guarantees: read-your-writes, monotonic reads, monotonic writes.
-
Quorums, Replication & Read Repair
R + W > N, sloppy quorums, hinted handoff, read repair, anti-entropy, and leaderless replication.
-
Consensus: Raft, Paxos & Leader Election
Raft terms, logs, and elections, Paxos, split brain, fencing tokens, and ZooKeeper and etcd.
-
Clocks, Ordering & Causality
NTP skew, monotonic vs wall clocks, Lamport and vector clocks, hybrid logical clocks, and TrueTime.
-
2PC, Sagas & Distributed Transactions
Two- and three-phase commit, sagas, the transactional outbox, and choreography vs orchestration.
-
Idempotency & Delivery Semantics
At-most-once, at-least-once, and effectively-once delivery, idempotency keys, and dedup windows.
-
CRDTs, Gossip & Anti-Entropy
CRDTs such as G-counters and OR-sets, operational transform, and gossip protocols.
Up next
50 of 50 questions here are still unsolved.