1. 3.2 Distributed Consensus Algorithm: ZABhistorical

    This page links to the ZAB protocol notes for further reading on ZooKeeper's atomic broadcast protocol.

  2. 3.3 Distributed Consensus Algorithm: Rafthistorical

    Raft is a distributed consensus algorithm proposed by Diego Ongaro. These notes introduce its roles and process starting from the implementation complexity of Paxos.

  3. 3.4 Distributed Consensus Algorithm: Gossiphistorical

    Distributed Consensus Algorithm: Gossip: An algorithm proposed by Xerox for replicating data among multiple nodes in a distributed database.

  4. 3.5 Distributed Consistency Modelshistorical

    Consistency models place different guarantees on read and write results. These notes begin with strong and weak consistency and organize the related models.

  5. 4. Distributed-System Replicationhistorical

    Replication stores copies of the same data on multiple nodes to improve availability and capacity. These notes organize its concepts, methods, and architectures.

  6. 4.1 Distributed-System Replication Architecture: Leader-Leader Replicationhistorical

    Multi-leader replication allows several leaders to accept writes, each potentially with followers. These notes examine the architecture in multi-datacenter scenarios.

  7. 4.2 Distributed-System Replication Architecture: Leaderless Replicationhistorical

    Distributed-System Replication Architecture: Leaderless Replication: There is no Leader. When the client writes, it sends the write request to all replicas in parallel; when it reads, it similarly sends the read request to all replicas in parallel.

  8. 4.3 Distributed-System Replication Architecture: Leader-Follower Replicationhistorical

    Leader-follower replication has one leader and multiple followers. These notes begin with a single-datacenter scenario and examine requests and replication.

  9. 4.4 Distributed-System Replication Logshistorical

    Replicas commonly track data changes through replication logs. These notes compare approaches by their log formats.

  10. 4.5 Distributed-System Replication Methodshistorical

    Replication modes determine how many replica acknowledgments the leader waits for and when clients receive success. These notes compare synchronous and asynchronous replication.