售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Apache ZooKeeper Essentials
Table of Contents
Apache ZooKeeper Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. A Crash Course in Apache ZooKeeper
Defining a distributed system
Why coordination in a distributed system is so challenging
Introducing Apache ZooKeeper
Getting hands-on with Apache ZooKeeper
Download and installation
Downloading
Installing
Configuration
Starting the ZooKeeper server
Connecting to ZooKeeper with a Java-based shell
Connecting to ZooKeeper with a C-based shell
Setting up a multinode ZooKeeper cluster
Starting the server instances
Running multiple node modes for ZooKeeper
Summary
2. Understanding the Inner Workings of Apache ZooKeeper
A top-down view of the ZooKeeper service
The ZooKeeper data model
Types of znodes
The persistent znode
The ephemeral znode
The sequential znode
Keeping an eye on znode changes – ZooKeeper Watches
The ZooKeeper operations
Watches and ZooKeeper operations
The ZooKeeper access control lists
The ZooKeeper stat structure
Understanding the inner working of ZooKeeper
The quorum mode
Client establishment of sessions with the ZooKeeper service
Implementation of ZooKeeper transactions
Phase 1 – leader election
Phase 2 – atomic broadcast
Local storage and snapshots
Summary
3. Programming with Apache ZooKeeper
Using the Java client library
Preparing your development environment
The first ZooKeeper program
Implementing a Watcher interface
Example – a cluster monitor
The C client library
Getting started with the C API
Example – the znode data watcher
Python client bindings
A watcher implementation
Summary
4. Performing Common Distributed System Tasks
ZooKeeper recipes
Barrier
Queue
Lock
Leader election
Group membership
Two-phase commit
Service discovery
Summary
5. Administering Apache ZooKeeper
Configuring a ZooKeeper server
Minimum configuration
Storage configuration
Network configuration
Configuring a ZooKeeper ensemble
Configuring a quorum
Quota and authorization
ZooKeeper best practices
Monitoring a ZooKeeper instance
Four-letter words
Java Management Extensions
Summary
6. Decorating ZooKeeper with Apache Curator
Curator components
Curator client
Curator framework
Curator recipes
Curator utilities
Curator extensions
Exhibitor
Summary
7. ZooKeeper in Action
Projects powered by ZooKeeper
Apache BookKeeper
Apache Hadoop
Apache HBase
Apache Helix
OpenStack Nova
Organizations powered by ZooKeeper
Yahoo!
eBay
Netflix
Zynga
Nutanix
VMware vSphere Storage Appliance
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜