1. ZooKeeper Overviewhistorical

    What ZooKeeper is, how to install and use it, its core principles, source-code analysis, and references.

  2. Installing ZooKeeperhistorical

    Single-node and cluster ZooKeeper installation, configuration, startup, operations, and the Stat structure.

  3. Distributed Locks with ZooKeeperhistorical

    ZooKeeper distributed-lock implementations using Apache Curator and native ZooKeeper, the lock principle, herd-effect avoidance, and known issues.

  4. ZooKeeper as a Service Registryhistorical

    ZooKeeper service-registry implementation and its principle using ephemeral sequential nodes and child-node change watches.

  5. Leader Election with ZooKeeperhistorical

    ZooKeeper master-election implementation and its principle using ephemeral sequential nodes and predecessor-node deletion watches.

  6. ZooKeeper Atomic Broadcast (ZAB)historical

    What ZAB is, its roles and node states, leader election, broadcast/two-phase commit, request processing, and crash recovery.

  7. ZooKeeper Watcheshistorical

    What ZooKeeper's event-watching mechanism is, how to use it, one-shot watch behavior, and how the watcher mechanism works.

  8. ZooKeeper Namespacehistorical

    ZooKeeper's data structure resembles the Linux filesystem; every node can store data, with a 1 MB data limit per node.

  9. ZooKeeper Znode Propertieshistorical

    The four ZooKeeper node types: persistent, ephemeral, persistent sequential, and ephemeral sequential.

  10. ZooKeeper High Availabilityhistorical

    Leader-follower replication, leader election, data synchronization, request processing, and failure handling in ZooKeeper.

  11. Building ZooKeeper from Sourcehistorical

    How to identify ZooKeeper's startup class and build/start its source code with Ant or Maven.