Apache ZooKeeper Essentials
eBook - ePub

Apache ZooKeeper Essentials

Saurav Haloi

Buch teilen
  1. 168 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Apache ZooKeeper Essentials

Saurav Haloi

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Apache ZooKeeper Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Apache ZooKeeper Essentials von Saurav Haloi im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Programming in C. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2015
ISBN
9781784391324

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

Apache ZooKeeper Essentials

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2015
Production reference: 1220115
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-132-4
www.packtpub.com

Credits

Author
Saurav Haloi
Reviewers
Hanish Bansal
Christopher Tang, PhD
Commissioning Editor
Ashwin Nair
Acquisition Editor
Richard Harvey
Rebecca Youé
Content Development Editor
Ajinkya Paranjape
Technical Editor
Anushree Arun Tendulkar
Copy Editors
Karuna Narayanan
Alfida Paiva
Project Coordinator
Harshal Ved
Proofreaders
Martin Diver
Ameesha Green
Indexer
Hemangini Bari
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa

About the Author

Saurav Haloi works as a principal software engineer at EMC in its data protection and availability division. With more than 10 years of experience in software engineering, he has also been associated with prestigious software firms such as Symantec Corporation and Tata Consultancy Services, where he worked in the design and development of complex, large-scale, multiplatform, multi-tier, and enterprise software systems in a storage, networking, and distributed systems domain. He has been using Apache ZooKeeper since 2011 in a variety of different contexts. He graduated from National Institute of Technology, Surathkal, India, with a bachelors degree in computer engineering. An open source enthusiast and a hard rock and heavy metal fanatic, he lives in the city of Pune in India, which is also known as the Oxford of the East.

About the Reviewers

Hanish Bansal is a software engineer with over 3 years of experience in developing Big Data applications. He has worked on various technologies such as the Spring framework, Hibernate, Hadoop, Hive, Flume, Kafka, Storm, and NoSQL database...

Inhaltsverzeichnis