...

/

Examples of Powerful Primitives by Zookeeper API

Examples of Powerful Primitives by Zookeeper API

Let's discuss some examples of primitives built by using the Zookeeper's API.

The Zookeeper API can be used to build powerful primitives. Some examples are as follows:

Configuration management

Zookeeper’s API can configure management simply by publishing the node with some configuration information. Create a znode zcz_c and write the configuration as the znode’s data.

The znode’s path is provided to the other nodes of the system, which obtain the configuration by reading zcz_c ...