WIP: Zookeeper learning
My brief experience, two papers and source code
I once used zookeeper for
The paper
different forms of coordination in distributed systems: configuration, group membership and leader election, and lock.
Zookeeper doesn't restrict the developers to a fixed set of primitives, and it also moves away from blocking primitives(for example, locks, they are bad for performance and fault tolerance).
Zookeeper manipulates simple wait-free data objects organized hierarchically as in file systems. Rather, it guarantees FIFO client operations through pipeline structure and linearization writes through a leader-based atomic broadcast protocol, Zab.
Caching data on the client side uses a watch mechanism.
znode: in-memory data node in the Zookeeper data, which is in a hierarchical namespace referred to as the data tree.
Last updated
Was this helpful?