lundi 16 janvier 2017

Zookeeper


Zookeeper
I propose to spend a little time together to discover Zookeeper which is regularly found as the cornerstone to make many open source projects distributable on several servers. The goal is to understand how Zookeeper works and to be able to use it as a developer.
Zookeeper's functionality includes Naming Service, configuration management, synchronization, Leader Election ... Zookeeper is actually a toolbox that you can use as soon as coordinating processes deployed on multiple servers becomes a case -head.
The plan of attack to approach Zookeeper will be the following:
How Zookeeper works and an overview of terms to know,
Install an instance of Zookeeper locally and ... realize that it's easy,
Install multiple instances of Zookeeper locally and ... find it easy

How Zookeeper Works and an Overview of Terms to Know

Zookeeper works by providing a memory space shared by all instances of a single set of Zookeeper servers. This memory space is hierarchical, in the manner of a file system made up of directories and files, with the difference that, in the case of Zookeeper, we do not speak of directories and files but of nodes. Each node is called a ZNode.
When starting a Zookeeper instance, the node hierarchy is empty and we have only one root node that, like file systems, is named "/":



Author:

0 commentaires: