1. Distributed Locks with ZooKeeperhistorical

    Apache Curator examples demonstrate ZooKeeper distributed locks, including locking, unlocking, and behavior across lock instances in one thread.

  2. 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.

  3. 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.