Distributed Systems
46 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 3.2 ZABhistorical
An entry point to ZooKeeper Atomic Broadcast (ZAB), ZooKeeper's leader-based protocol for ordered, reliable state updates.
- 3.3 Rafthistorical
Raft's leader, follower, and candidate roles; leader election; replicated-log operation; quorum commitment; and recovery after leader failure.
- 3.4 Gossiphistorical
How gossip protocols spread information through randomized peer-to-peer exchanges, why they scale well, and the redundancy and convergence trade-offs they introduce.
- 3.5 Distributed Consistency Modelshistorical
A practical map of linearizability, eventual and causal consistency, read-your-writes, session consistency, monotonic reads and writes, and consistent-prefix reads.
- 4. Distributed-System Replicationhistorical
Why distributed systems keep multiple replicas of the same data, how replication improves availability and read capacity, and the major design dimensions behind replication.
- 4.1 Multi-Leader Replicationhistorical
Why multiple leaders are useful across regions or offline-capable systems, and how concurrent writes create conflicts that require prevention, detection, or resolution.
- 4.2 Leaderless Replicationhistorical
Leaderless replication with multi-replica reads/writes, quorum-style coordination, version reconciliation, read repair, and anti-entropy.
- 4.3 Single-Leader Replicationhistorical
How leader/follower replication handles writes, reads, initial synchronization, incremental catch-up, leader election, and failover.
- 4.4 Replication Logshistorical
Physical and logical change logs, statement- versus row-oriented replication, and why deterministic replay and schema/storage coupling matter.
- 4.5 Replication Strategieshistorical
Synchronous, asynchronous, and semi-synchronous replication and how acknowledgement rules change latency, durability, availability, and replica lag.