1 / 9

Introduction to ZooKeeper

Introduction to ZooKeeper. Agenda. What is ZooKeeper (ZK) What ZK can do How ZK works ZK interface What ZK ensures. What is ZK. C entralized service for maintaining configuration information , naming, providing distributed synchronization , and providing group services .

pepin
Download Presentation

Introduction to ZooKeeper

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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. ZKensures • 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

More Related