jackyfkc.github.io

教土豆学计算机

Data model and hierarchical namespace

The name space provided by ZooKeeper is much like that of a standard file system. The main differences between ZooKeeper and standard file systems are that

zookeeper namespace 来源 ZooKeeper Documentation: Overview

ZooKeeper was designed to store coordination data: status information, configuration, location information, etc.

ZNode

Unlike files in file systems, znodes are not designed for general data storage. Instead, znodes map to abstractions of the client application, typically corresponding to meta-data used for coordination purposes.

There are two types of znodes that a client can create: