Books & Videos

Table of Contents

  1. ZooKeeper Concepts and Basics

    1. Chapter 1 Introduction

      1. The ZooKeeper Mission
      2. Example: Master-Worker Application
      3. Why Is Distributed Coordination Hard?
      4. ZooKeeper Is a Success, with Caveats
    2. Chapter 2 Getting to Grips with ZooKeeper

      1. ZooKeeper Basics
      2. ZooKeeper Architecture
      3. Getting Started with ZooKeeper
      4. Implementation of a Master-Worker Example
      5. Takeaway Messages
  2. Programming with ZooKeeper

    1. Chapter 3 Getting Started with the ZooKeeper API

      1. Setting the ZooKeeper CLASSPATH
      2. Creating a ZooKeeper Session
      3. Getting Mastership
      4. Registering Workers
      5. Queuing Tasks
      6. The Admin Client
      7. Takeaway Messages
    2. Chapter 4 Dealing with State Change

      1. One-Time Triggers
      2. Getting More Concrete: How to Set Watches
      3. A Common Pattern
      4. The Master-Worker Example
      5. An Alternative Way: Multiop
      6. Watches as a Replacement for Explicit Cache Management
      7. Ordering Guarantees
      8. The Herd Effect and the Scalability of Watches
      9. Takeaway Messages
    3. Chapter 5 Dealing with Failure

      1. Recoverable Failures
      2. Unrecoverable Failures
      3. Leader Election and External Resources
      4. Takeaway Messages
    4. Chapter 6 ZooKeeper Caveat Emptor

      1. Using ACLs
      2. Session Recovery
      3. Version Is Reset When Znode Is Re-Created
      4. The sync Call
      5. Ordering Guarantees
      6. Data and Child Limits
      7. Embedding the ZooKeeper Server
      8. Takeaway Messages
    5. Chapter 7 The C Client

      1. Setting Up the Development Environment
      2. Starting a Session
      3. Bootstrapping the Master
      4. Taking Leadership
      5. Assigning Tasks
      6. Single-Threaded versus Multithreaded Clients
      7. Takeaway Messages
    6. Chapter 8 Curator: A High-Level API for ZooKeeper

      1. The Curator Client
      2. Fluent API
      3. Listeners
      4. State Changes in Curator
      5. A Couple of Edge Cases
      6. Recipes
      7. Takeaway Messages
  3. Administering ZooKeeper

    1. Chapter 9 ZooKeeper Internals

      1. Requests, Transactions, and Identifiers
      2. Leader Elections
      3. Zab: Broadcasting State Updates
      4. Observers
      5. The Skeleton of a Server
      6. Local Storage
      7. Servers and Sessions
      8. Servers and Watches
      9. Clients
      10. Serialization
      11. Takeaway Messages
    2. Chapter 10 Running ZooKeeper

      1. Configuring a ZooKeeper Server
      2. Configuring a ZooKeeper Ensemble
      3. Reconfiguration
      4. Quotas
      5. Multitenancy
      6. File System Layout and Formats
      7. Four-Letter Words
      8. Monitoring with JMX
      9. Tools
      10. Takeaway Messages
  1. Index

  2. Colophon