Apache ZooKeeper
Apache ZooKeeper is a popular open source Distributed Coordination service. It can work as a centralized service capable of doing many operations such as configuration management and other common coordination services required for a distributed systems.
ZooKeeper works with a group of servers (an odd number ideally), commonly known as an ensemble. When the ensemble is started, one of the servers is elected as leader and the others automatically become followers. The data residing in each server (so-called state) is broadcasted, because of which each server has an up-to-date state with it. After leader election, all the write requests are routed to the leader and all the followers get the data from the chosen leader server. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access