Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to ZooKeeper. Agenda  What is ZooKeeper (ZK)  What ZK can do  How ZK works  ZK interface  What ZK ensures.

Similar presentations


Presentation on theme: "Introduction to ZooKeeper. Agenda  What is ZooKeeper (ZK)  What ZK can do  How ZK works  ZK interface  What ZK ensures."— Presentation transcript:

1 Introduction to ZooKeeper

2 Agenda  What is ZooKeeper (ZK)  What ZK can do  How ZK works  ZK interface  What ZK ensures

3 What is ZK  Centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.  Simply Put: Coordination Service For Distributed Systems

4 What ZK can do  Name Service  Configuration  Group Membership  Distributed Synchronization

5 How ZK works

6 ZK interfaces  Command Line Tool  Zookeeper API Bindings  Java  C

7 ZK ensures  Sequential Consistency  Updates from a client will be applied in the order that they were sent.  Atomicity  Updates either succeed or fail. No partial results.  Single System Image  A client will see the same view of the service regardless of the server that it connects to.  Reliability  Once an update has been applied, it will persist from that time forward until a client overwrites the update.  Timeliness  The clients view of the system is guaranteed to be up-to-date within a certain time bound.

8 Cautions to take  Prefer small data size for each node (less than 1M)  One time trigger (add again and again if u need)  Dataset in all must fit in memory

9 Thank You


Download ppt "Introduction to ZooKeeper. Agenda  What is ZooKeeper (ZK)  What ZK can do  How ZK works  ZK interface  What ZK ensures."

Similar presentations


Ads by Google