NOTE
ZooKeeper Overview
ZooKeeper provides distributed coordination and consistency-related capabilities. These notes cover its role, installation, mechanisms, and uses such as locks and registries.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is ZooKeeper
- It is a distributed coordination service framework that provides distributed data-consistency solutions.
- The consistency here refers to CP in CAP.md. ZooKeeper guarantees eventual consistency, so more precisely, ZooKeeper is actually based on BASE theory.
- It is mainly used to solve data-management problems commonly encountered in distributed applications. It can be used for scenarios such as distributed locks, service registries, and cluster high availability (master election).
2. ZooKeeper Installation
3. ZooKeeper Usage
ZooKeeper Master Election.md ZooKeeper Distributed Lock.md ZooKeeper Service Registry.md
4. ZooKeeper Principles
4.1. File System
4.2. Node Characteristics
4.3. Event-Watching Mechanism
ZooKeeper Watcher Principles.md
4.4. ZAB Protocol
5. ZooKeeper Source-Code Analysis
Compiling and Starting ZooKeeper Source Code.md
6. References
- ZooKeeper Tutorial - Tutorialspoint
- Apache ZooKeeper
- Getting Started with the Distributed Service Framework ZooKeeper: This Article Is Enough - Storage
- 7. ZooKeeper’s stat Structure - Lin Bento - CNBlogs
- ZooKeeper (Douban)
- 29 Detailed ZooKeeper Interview Questions (with Answers) - Development Languages - IT Technology Subscription - New Knowledge
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub