A fast-paced guide to using Apache ZooKeeper to coordinate services in distributed systems
Apache 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.
What You Will Learn
Understand how Apache ZooKeeper solves coordination issues in traditional distributed systems
Discover steps to set up and get started with ZooKeeper in a development environment in addition to production
Explore ZooKeeper's architecture and internals
Get to grips with the API model of ZooKeeper to start programming
Use ZooKeeper to solve common distributed coordination tasks such as leader election, distributed queues, and group memberships
Administer Apache ZooKeeper for real-world use and production workload
Investigate the use of ZooKeeper in real-world applications and services
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.