The standard for distributed coordination
open sourceApache-2.0self-hostablefree
Apache ZooKeeper is a distributed coordination service that distributed applications build on for configuration, naming, synchronization and group membership instead of implementing those primitives themselves. Data lives in memory in a replicated hierarchical namespace of znodes, like a small file system, with ephemeral nodes that vanish when a client's session ends, conditional updates and watches that notify clients of changes. A replicated ensemble of servers keeps ordered, consistent updates as long as a majority is up. Applications use it for leader election, locks, group membership and shared configuration. It runs on the JVM, has Java and C bindings and the zkCli shell.
Problems it solves
- elect a leader among several instances of a distributed service
- distributed locks that work across machines
- store shared configuration that every node in a cluster sees consistently
- know which nodes in a cluster are alive and get notified when one leaves
- service discovery for a cluster of JVM services
Features
- hierarchical znode namespace
- ephemeral and sequential nodes
- watches
- conditional updates
- replicated ensemble with ordered, consistent updates
- Java and C bindings
- zkCli command-line shell
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Apache ZooKeeper does.