Aug 25, 2018

[HDGEM] Apache ZooKeeper is a great tool to synchronize virtual machines and services

Apache ZooKeeper is a great tool to synchronize virtual machines and services both on cloud and on-premise servers. ZooKeeper maintains the state of systems in memory as well as storing status information in local log files for session and system persistence.   It's designed to keep large numbers of processes on servers running as nodes in a cluster.

ZooKeeper creates what it calls znodes, which are in their simplest form files persisting in memory on each ZooKeeper server and persisted locally on disk.  These status files can be updated by other znodes in a defined cluster.  Any node in the cluster can also register to "watch" other znodes.  Applications can synchronize tasks across the ZooKeeper cluster by updating their znode status and informing "watchers" of a specific status change. Status is centralized via a master server to manage and serialize tasks across a distributed set of znodes



--
Posted By Blogger to HDGEM at 8/15/2016 09:12:00 PM