原理
ZooKeeper · 5 notes
- ZooKeeper Atomic Broadcast (ZAB)historical
ZAB is ZooKeeper's atomic broadcast protocol with crash recovery. These notes examine its roles, elections, and message handling.
- ZooKeeper Watcheshistorical
ZooKeeper allows a client to register a Watcher on a Znode on the server. When certain specified events on the server trigger this Watcher, the server sends an event notification to the specified client to implement distributed notification.
- ZooKeeper Namespacehistorical
ZooKeeper organizes data in a tree whose nodes can also hold content. These notes examine its in-memory directory structure through differences from ordinary file systems.
- ZooKeeper Znode Propertieshistorical
Persistent nodes remain until deleted, while ephemeral nodes are tied to client sessions. These notes compare node types through their lifecycles and behavior.
- ZooKeeper High Availabilityhistorical
ZooKeeper establishes roles through election and uses replication to maintain node state. These notes examine availability through election and full replication.