Apache ZooKeeper essentials a fast-paced guide to using Apache ZooKeeper to coordinate services in distributed systems
Whether you are a novice to ZooKeeper or already have some experience, you will be able to master the concepts of ZooKeeper and its usage with ease. This book assumes you to have some prior knowledge of distributed systems and high-level programming knowledge of C, Java, or Python, but no experience...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, [England] ; Mumbai, [India] :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629202706719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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 ZooKeeperSummary; Chapter 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 transactionsPhase 1 - leader election; Phase 2 - atomic broadcast; Local storage and snapshots; Summary; Chapter 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; Chapter 4: Performing Common Distributed System Tasks; ZooKeeper recipes; Barrier; Queue; Lock
- Leader electionGroup membership; Two-phase commit; Service discovery; Summary; Chapter 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; Chapter 6: Decorating ZooKeeper with Apache Curator; Curator components; Curator client; Curator framework; Curator recipes; Curator utilities; Curator extensions; Exhibitor
- SummaryChapter 7: ZooKeeper in Action; Projects powered by ZooKeeper; Apache BookKeeper; Apache Hadoop; Apache HBase; Apache Helix; OpenStack Nova; Organizations powered by ZooKeeper; Yahoo!; Facebook; eBay; Twitter; Netflix; Zynga; Nutanix; VMware vSphere Storage Appliance; Summary; Index