Book description
Building distributed applications is difficult enough without having to coordinate the actions that make them work. This practical guide shows how Apache ZooKeeper helps you manage distributed systems, so you can focus mainly on application logic. Even with ZooKeeper, implementing coordination tasks is not trivial, but this book provides good practices to give you a head start, and points out caveats that developers and administrators alike need to watch for along the way.
In three separate sections, ZooKeeper contributors Flavio Junqueira and Benjamin Reed introduce the principles of distributed systems, provide ZooKeeper programming techniques, and include the information you need to administer this service.
- Learn how ZooKeeper solves common coordination tasks
- Explore the ZooKeeper API’s Java and C implementations and how they differ
- Use methods to track and react to ZooKeeper state changes
- Handle failures of the network, application processes, and ZooKeeper itself
- Learn about ZooKeeper’s trickier aspects dealing with concurrency, ordering, and configuration
- Use the Curator high-level interface for connection management
- Become familiar with ZooKeeper internals and administration tools
Table of contents
- Preface
- I. ZooKeeper Concepts and Basics
- 1. Introduction
- 2. Getting to Grips with ZooKeeper
- II. Programming with ZooKeeper
- 3. Getting Started with the ZooKeeper API
- 4. Dealing with State Change
- 5. Dealing with Failure
- 6. ZooKeeper Caveat Emptor
- 7. The C Client
- 8. Curator: A High-Level API for ZooKeeper
- III. Administering ZooKeeper
- 9. ZooKeeper Internals
- 10. Running ZooKeeper
- Index
Product information
- Title: ZooKeeper
- Author(s):
- Release date: November 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449361303
You might also like
book
Kafka: The Definitive Guide
Every enterprise application creates data, whether it’s log messages, metrics, user activity, outgoing messages, or something …
book
Kafka: The Definitive Guide, 2nd Edition
Every enterprise application creates data, whether it consists of log messages, metrics, user activity, or outgoing …
book
Terraform: Up and Running, 3rd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …
book
Mastering Kafka Streams and ksqlDB
Working with unbounded and fast-moving data streams has historically been difficult. But with Kafka Streams and …