Skip to content

Tag: ZooKeeper

  • Distributed Coordination in Practice

    In ZooKeeper

    ZooKeeperDistributed LockLeader Election

    ZooKeeper offers primitive-level coordination; almost every distributed coordination need can be built from the combination of “ephemeral node + sequential node + Watcher”. Leader Election Each candidate creates an ephemeral sequential node under …

    ZooKeeper offers primitive-level coordination; almost every distributed coordination need can be built from the combination of “ephemeral node + sequential node + Watcher”. Leader Election Each candidate creates an ephemeral sequential node under …

  • ZooKeeper Data Model and the ZAB Protocol

    In ZooKeeper

    ZooKeeperZABCoordination

    ZooKeeper’s reliability comes from its simple data model and the strongly-consistent ZAB protocol. Understanding both is a prerequisite for using ZK correctly. The znode Data Model ZK maintains a hierarchical tree similar to a file system; each node …

    ZooKeeper’s reliability comes from its simple data model and the strongly-consistent ZAB protocol. Understanding both is a prerequisite for using ZK correctly. The znode Data Model ZK maintains a hierarchical tree similar to a file system; each node …