Chapter 2. Understanding the Inner Workings of Apache ZooKeeper

In the previous chapter, we learned about the general definition of a distributed system and why implementing coordination among components of such a system is hard. We learned how Apache ZooKeeper solves this problem, followed by how to install and configure it. In this chapter, we will read more about the internals and architecture of ZooKeeper. As such, we will cover the following topics here in this second chapter:

  • The architecture of the ZooKeeper service
  • The data model behind ZooKeeper
  • The operations supported by the ZooKeeper data model
  • Probing the inner workings of ZooKeeper

A top-down view of the ZooKeeper service

As you are aware, Apache ZooKeeper is a coordination service for ...

Get Apache ZooKeeper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.