万本电子书0元读

万本电子书0元读

顶部广告

Apache ZooKeeper Essentials电子书

售       价:¥

66人正在读 | 0人评论 6.2

作       者:Saurav Haloi

出  版  社:Packt Publishing

出版时间:2015-01-28

字       数:115.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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 with Apache ZooKeeper is required.
目录展开

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!

Facebook

eBay

Twitter

Netflix

Zynga

Nutanix

VMware vSphere Storage Appliance

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部