Tagged articles
ZAB
20 articles · Page 1 of 1
This article examines high‑concurrency distributed consistency algorithms—explaining the CAP challenges, detailing Paxos, Raft, and ZAB’s core concepts, roles, and workflow, and discussing their practical applications and selection criteria for ensuring strong data consistency in critical systems.
CAP theoremPaxosRaft
0 likes · 13 min read

This article explains the principles, roles, phases, and typical application scenarios of four major distributed consensus algorithms—Paxos, Raft, ZAB, and Gossip—while also offering promotional material for extensive architecture and interview resources.
GossipPaxosRaft
0 likes · 7 min read

This article explains Apache ZooKeeper's role as a reliable distributed coordination service, covering its ZAB protocol, hierarchical data model, node types, watches, session management, ACLs, serialization, cluster architecture, leader election, ZAB algorithm, log cleanup, distributed locks, ID generation, load balancing, and real‑world integrations with Dubbo and Kafka.
ACLDistributed LockLeader Election
0 likes · 49 min read

This comprehensive guide walks you through ZooKeeper's role in distributed systems, detailed installation steps, Znode data structures, watcher mechanisms, ZAB protocol operations, and the FastLeaderElection algorithm, providing practical commands and configuration examples for building reliable coordination services.
Coordination ServiceLeader ElectionZAB
0 likes · 32 min read

This article explains Zookeeper's ZAB (Zookeeper Atomic Broadcast) protocol, detailing node roles, the leader election process during startup and failure, the two‑phase commit data synchronization, ordering guarantees, and scenarios of leader crash and data loss, providing clear diagrams and code examples.
ConsensusLeader ElectionZAB
0 likes · 10 min read

This comprehensive guide explains ZooKeeper’s role as a distributed coordination service, covering its consistency guarantees, Znode hierarchy, ZAB protocol, watcher mechanism, ACLs, server roles, data synchronization modes, deployment options, dynamic scaling, and typical use cases such as configuration management, service discovery, leader election, distributed locks and queues.
ACLDistributed LockLeader Election
0 likes · 23 min read

This article explains the ZAB (ZooKeeper Atomic Broadcast) protocol, detailing its atomic broadcast mechanism, two‑phase commit style messaging, transaction IDs (ZXID), leader‑follower coordination, crash recovery principles, data synchronization, and the underlying ZXID design with illustrative code snippets.
Crash RecoveryDistributed ConsensusZAB
0 likes · 11 min read

This article introduces ZooKeeper as a distributed coordination framework, explains its file‑system‑like data model, watcher mechanism, node types, core features, provided functionalities such as publish/subscribe, distributed locks, load balancing, naming service, leader election, and details the ZAB consensus protocol.
Leader ElectionWatcherZAB
0 likes · 24 min read

This article explains the challenges of distributed systems such as node failures and network anomalies, then introduces the CAP theorem, BASE theory, two‑phase and three‑phase commit protocols, and details consensus algorithms including Paxos, Raft, ZAB, and Amazon Dynamo's NWR model, highlighting their trade‑offs and practical usage.
2PC3PCCAP theorem
0 likes · 37 min read

This article explains the fundamentals of distributed consistency, covering the CAP theorem, BASE model, two‑phase and three‑phase commit protocols, Paxos and Raft consensus algorithms, Zookeeper’s ZAB protocol, and Amazon Dynamo’s NWR model with vector clocks for conflict resolution.
BASECAP theoremPaxos
0 likes · 36 min read

This article provides a comprehensive overview of ZooKeeper, covering its role as a distributed coordination service, consistency guarantees, ZAB protocol, Znode types, watcher mechanism, ACL permissions, chroot feature, session management, server roles, data synchronization, deployment modes, and typical use cases in distributed systems.
ACLConsistencyWatcher
0 likes · 19 min read

This article provides an in‑depth introduction to Apache ZooKeeper, covering its role in distributed systems, core concepts such as ZNodes, watches, consensus via the ZAB protocol, deployment modes, configuration parameters, common CLI commands, and typical application scenarios like naming services, configuration management, leader election, and distributed locking.
Configuration ManagementConsensusLeader Election
0 likes · 27 min read

The article explains the “ghost replay” problem—an inconsistency arising from the third state of distributed requests—and examines how consensus protocols such as Paxos, Multi‑Paxos, Raft, and ZAB address it through epoch IDs, noop entries, and leader election rules to prevent duplicate log entries.
ConsensusZABdistributed-systems
0 likes · 16 min read

This article compares Zookeeper and etcd, detailing their origins, architecture, APIs, strengths, and weaknesses, to help you decide which distributed coordination system best matches your project's requirements and programming language preferences.
RaftZABZooKeeper
0 likes · 8 min read

This article explains distributed data consistency concepts, the CAP theorem, various consistency levels, and provides detailed overviews of three major consensus algorithms—Paxos, ZAB, and Raft—including their mechanisms, roles, and practical applications such as in CB‑SQL.
PaxosRaftZAB
0 likes · 18 min read

This article explains the fundamentals of distributed consistency protocols, covering Lamport's logical clocks, the basics and multi‑instance extensions of Paxos, Zookeeper's ZAB algorithm, and the Raft protocol, while comparing their designs, strengths, and practical engineering considerations.
PaxosRaftZAB
0 likes · 25 min read

This article explains the ZAB protocol—Zookeeper's atomic broadcast and crash‑recovery mechanism—detailing its design, message‑broadcast process, leader election, transaction ordering with ZXID, and how it ensures data consistency and availability in distributed systems.
ConsensusCrash RecoveryZAB
0 likes · 8 min read

This article explains the CAP theorem, its implications for distributed systems, details the Paxos consensus algorithm and its availability optimizations, and introduces ZooKeeper's ZAB protocol, showing how they together address consistency‑availability trade‑offs in real‑world deployments.
CAP theoremConsistencyPaxos
0 likes · 12 min read

This article explains ZooKeeper's distributed coordination architecture, the ZAB consensus protocol, server roles, write and read workflows, FastLeaderElection mechanics, configurable election algorithms, and how ZooKeeper can be used to implement reliable distributed locks and leader election.
Distributed LockFastLeaderElectionHigh Availability
0 likes · 26 min read

This article provides an in‑depth exploration of distributed consensus protocols, detailing the basics of Paxos, extending to Multi‑Paxos, and comparing it with Raft and Zab while discussing leader election, quorum, lease mechanisms, and practical considerations for implementing these algorithms in real‑world systems.
ConsensusLeader ElectionPaxos
0 likes · 21 min read
