A fast-paced guide to using Apache ZooKeeper to coordinate services in distributed systemsAbout This BookLearn the basics of Apache ZooKeeper with a comprehensive examination of its internals and administrationExplore the ZooKeeper API model and learn how to develop applications using ZooKeeper in C, Java, and Python for common distributed coordination tasksSee how ZooKeeper is used in real-world applications and services to carry out complex distributed coordination tasksWho This Book Is ForWhether you are a novice to ZooKeeper or already have some experience, you will be able to master the concepts of ZooKeeper and its usage with ease.
This book assumes you to have some prior knowledge of distributed systems and high-level programming knowledge of C, Java, or Python, but no experience with Apache ZooKeeper is required.
What You Will LearnUnderstand how Apache ZooKeeper solves coordination issues in traditional distributed systemsDiscover steps to set up and get started with ZooKeeper in a development environment in addition to productionExplore ZooKeeper's architecture and internalsGet to grips with the API model of ZooKeeper to start programmingUse ZooKeeper to solve common distributed coordination tasks such as leader election, distributed queues, and group membershipsAdminister Apache ZooKeeper for real-world use and production workloadInvestigate the use of ZooKeeper in real-world applications and servicesIn DetailApache ZooKeeper provides a simple interface to a centralized coordinating service for distributed applications through a rich set of APIs and primitives, enabling developers to concentrate on the core logic of their applications. With ZooKeeper, it's unnecessary to start from scratch, so the development of distributed applications becomes cleaner and easier.
Starting with how to install, configure, and begin with ZooKeeper, we'll examine the intricacies of ZooKeeper's architecture and internals. Next, you'll learn ZooKeeper's programming model and write code to solve common distributed coordination tasks. We'll also walk you through administering ZooKeeper in a production environment, before finally covering practical examples of real-world projects and services using ZooKeeper to solve complex day-to-day problems.