

Flavio Junqueira is a member of the research staff of Microsoft Research in Cambridge, UK.
Meer over de auteursZooKeeper: Distributed Process Coordination
Samenvatting
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
Specificaties
Over Benjamin Reed
Inhoudsopgave
Part 1: ZooKeeper Concepts and Basics
1. Introduction
-The ZooKeeper Mission
-Example: Master-Worker Application
-Why Is Distributed Coordination Hard?
-ZooKeeper Is a Success, with Caveats
2. Getting to Grips with ZooKeeper
-ZooKeeper Basics
-ZooKeeper Architecture
-Getting Started with ZooKeeper
-Implementation of a Master-Worker Example
-Takeaway Messages
Part 2: Programming with ZooKeeper
3. Getting Started with the ZooKeeper API
-Setting the ZooKeeper CLASSPATH
-Creating a ZooKeeper Session
-Getting Mastership
-Registering Workers
-Queuing Tasks
-The Admin Client
-Takeaway Messages
4. Dealing with State Change
-One-Time Triggers
-Getting More Concrete: How to Set Watches
-A Common Pattern
-The Master-Worker Example
-An Alternative Way: Multiop
-Watches as a Replacement for Explicit Cache Management
-Ordering Guarantees
-The Herd Effect and the Scalability of Watches
-Takeaway Messages
5. Dealing with Failure
-Recoverable Failures
-Unrecoverable Failures
-Leader Election and External Resources
-Takeaway Messages
6. ZooKeeper Caveat Emptor
-Using ACLs
-Session Recovery
-Version Is Reset When Znode Is Re-Created
-The sync Call
-Ordering Guarantees
-Data and Child Limits
-Embedding the ZooKeeper Server
-Takeaway Messages
7. The C Client
-Setting Up the Development Environment
-Starting a Session
-Bootstrapping the Master
-Taking Leadership
-Assigning Tasks
-Single-Threaded versus Multithreaded Clients
-Takeaway Messages
8. Curator: A High-Level API for ZooKeeper
-The Curator Client
-Fluent API
-Listeners
-State Changes in Curator
-A Couple of Edge Cases
-Recipes
-Takeaway Messages
Part 3: Administering ZooKeeper
9. ZooKeeper Internals
-Requests, Transactions, and Identifiers
-Leader Elections
-Zab: Broadcasting State Updates
-Observers
-The Skeleton of a Server
-Local Storage
-Servers and Sessions
-Servers and Watches
-Clients
-Serialization
-Takeaway Messages
10. Running ZooKeeper
-Configuring a ZooKeeper Server
-Configuring a ZooKeeper Ensemble
-Reconfiguration
-Quotas
-Multitenancy
-File System Layout and Formats
-Four-Letter Words
-Monitoring with JMX
-Tools
-Takeaway Messages
Index
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht