TAG
Zookeeper
11 notes
- ZooKeeper Overviewhistorical
ZooKeeper provides distributed coordination and consistency-related capabilities. These notes cover its role, installation, mechanisms, and uses such as locks and registries.
- Installing ZooKeeperhistorical
These notes record ZooKeeper configuration and startup, progressing from standalone installation to cluster setup and basic operations.
- Distributed Locks with ZooKeeperhistorical
Apache Curator examples demonstrate ZooKeeper distributed locks, including locking, unlocking, and behavior across lock instances in one thread.
- ZooKeeper as a Service Registryhistorical
A ZooKeeper registry can record services with ephemeral sequential nodes and watch changes to a parent's children to detect instance arrivals and departures.
- Leader Election with ZooKeeperhistorical
ZooKeeper can use ephemeral sequential nodes for leader election. These notes begin with connecting and creating nodes and examine predecessor watching.
- 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.
- Building ZooKeeper from Sourcehistorical
These notes inspect ZooKeeper's startup entry point through zkServer.sh and use commands such as jps to examine source compilation and execution.