NOTE

ZooKeeper Overview

A replicated coordination service for small metadata, naming, membership, watches, locks, and leader-election recipes.

ZooKeeperCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

Apache ZooKeeper is a replicated coordination service built around a hierarchical namespace of small znodes. Clients use it for metadata, membership, configuration coordination, leader-election recipes, and lock-like protocols.

ZooKeeper provides strong ordering/consistency properties for its coordination state, but it is not a general database for large payloads or high-volume application data.

Sessions, ephemeral nodes, watches, quorum operation, and leader/follower roles are central to its model. Recipes must still handle session expiration, connection loss, retries, duplicate outcomes, and stale clients.

Loading helpful count