SlideShare a Scribd company logo
Apache Zookeeper
Anshul Patel
What is distributed system ?
• A distributed systems provides single coherent view of collection
of independent computing machines.
• Multiple software components on multiple computers, which run
as a single system.
• It can be locally or geographically connected.
Characteristics of Distributed System
• Concurrency
• Fault Tolerance
• Scalability
• Transparency
• Heterogeneity
Delusion of Distributed System
• Reliable Network
• Zero Latency
• Infinite Bandwidth
• Secure Network
• Topology Doesn’t change
• Homogeneous Network
• There is one administrator
Introducing Zookeeper
• Zookeeper provides coordination between distributed process via
shared hierarchical namespace.
Why Zookeeper ?
• Naming Service
• Locking
• Synchronization
• Configuration Management
• Leader Election
Zookeeper Architecture
Zookeeper Architecture
• Zookeeper follows client server architecture
• Collection of Zookeeper servers is called an ensemble
• At given time, a Zookeeper client is connected to one Zookeeper
server
• Client read requests are catered by connected Zookeeper server
• Client write requests are forwarded to Zookeeper leader.
• Write is considered successful, if quorum is achieved.
Zookeeper Architecture
• Client updates are sequentially consistent
• Updates are atomic
• Updates are reliable
• Timeliness
ZAB Protocol
• Zookeeper Atomic Broadcast
• Propagates state changes from leader to followers
• Guarantees the state change
Znodes
• Organized similar to standard Unix and Linux file system
• Similar to files and directories
• Both directory and leaf znode holds data
• Stores data <= 1MB
Znode - Hierarchical Namespace
Time in Zookeeper
• Zxid : Every change to ZK state receives a stamp in form of zxid
• Version Number : Change to Znode will cause change in Version
• Ticks : Ticks define timing of events
• Real Time : To put timestamp of stat structure and znode
modification
Znode Stat Structure
• Czxid : Change that caused Znode to be created
• Mzxid : Change that last modified Znode
• Pzxid : Change that last modified children of the Znode
• Ctime : Millisecond from epoch, when this Znode was created
• Mtime : Millisecond from epoch, when this Znode was last modified
• Version : Number of changes to data of Znode
• Cversion : Number of changes to children of Znode
• Aversion : Number of changes to ACL of Znode
• EphemeralOwner : SessionId of owner of this Znode
• DataLength : Length of data field
• Numchildren : Number of children
Zookeeper Operations
create Creates Znode
delete Deletes Znode
exists Does Znode exist?
getACL Get ACL permissions
setACL Set ACL permissions
Zookeeper Operations
getChildren Gets the childrens of Znode
getData Gets Data of Znode
setData Sets Data of Znode
Sync Syncs the client View
Types of Znodes
• Ephemeral Znode : Deleted with termination of client session,
also can’t have any child znode.
• Persistent Znode : Can have child znode, It is explicitly required
to delete it.
• Sequential Znode : Append a monotonicly increasing counter to
the end of path. It is unique to parent znode.
Znode Watchers
• One time triggers
• Sent to client which sets the watch
• Maintained locally at zookeeper
• Client won’t receive watches after getting disconnected
• Two lists of watches
– Data watches : create(),setData(), delete()
– Child watches : create(), delete()
Zookeeper ACL
• ACL Permission
– Create
– Read
– Write
– Delete
– Admin
Zookeeper ACL
• ACL Scheme
– World
– Auth
– Digest
– Host
– IP
Zookeeper Recipes/Higher Order
Functions/Apache Curator
• Naming Service
• Service Discovery
• Configuration Management
• Locks
• 2-phase commit
• Leader Election
• Barriers
• Queues
Netflix/Soabase Exhibitor
• Zookeeper server is fail fast
• Zookeeper is self-healing, (i.e. crashed/failed server if brought
online, will automatically join the cluster)
• Instance Monitoring
• Log Cleanup
• Backup/Restore
• Cluster-wide configuration
• Rolling Ensemble Change
• Rich REST API
Backup/Exhibitor
• Online Backup - Use Netflix Exhibitor
• Offline Backup - Bring down the old ensemble cluster and copy
the zookeeper data directory to the new ensemble cluster
Zookeeper Monitoring
• 4 Letter Words
• JMX
Zookeeper Monitoring - 4 Letter Words
conf srst
cons srvr
dump stat
envi dirs (3.5.1)
ruok mntr
Zookeeper Monitoring - JMX
• Mbeans
Quorum ServerCnxn
Leader LocalPeer
Follower LeaderElection
DataTree
Data Directory Cleanup
• autopurge.snapRetainCount : Maintains n number of recent
snapshots along with transaction log
• autopurge.purgeInterval : Time Interval at which purge event
will trigger
Zookeeper Future Releases - 3.5.X
• Dynamic Reconfiguration w/o Rolling restarts
• Separate Dynamic configuration file
• Adding/Removing Servers
• Modifying server parameters
• Rebalance Client Connections
• Backward Compatible
• Modifying Server Roles[Obersver/Participants]
Zookeeper in Real World
• Apache Kafka
• Apache Storm
• Apache HBase
• Apache Solr
• Apache Mesos
• Apache Hive
Questions ?
Thank You

More Related Content

What's hot (20)

PPTX
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
thelabdude
 
KEY
Curator intro
Jordan Zimmerman
 
PDF
Native container monitoring
Rohit Jnagal
 
PDF
Call me maybe: Jepsen and flaky networks
Shalin Shekhar Mangar
 
PPTX
RENCI User Group Meeting 2017 - I Upgraded iRODS and I still have all my hair
John Constable
 
PPTX
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Joe Stein
 
PDF
How to make a simple cheap high availability self-healing solr cluster
lucenerevolution
 
PDF
Sanger OpenStack presentation March 2017
Dave Holland
 
ODP
Introduction to Mesos
koboltmarky
 
PPTX
Developing Frameworks for Apache Mesos
Joe Stein
 
PPTX
Solr Exchange: Introduction to SolrCloud
thelabdude
 
PDF
Python and cassandra
Jon Haddad
 
PDF
Fact-Based Monitoring - PuppetConf 2014
Puppet
 
KEY
Exhibitor Introduction
Jordan Zimmerman
 
PDF
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
Open Source Consulting
 
PDF
Streaming Processing with a Distributed Commit Log
Joe Stein
 
PDF
Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)
Docker, Inc.
 
PDF
Supercharging Content Delivery with Varnish
Samantha Quiñones
 
PPTX
Docker, Mesos, Spark
Qiang Wang
 
PPTX
Introduction to Apache Mesos
Joe Stein
 
Deploying and managing SolrCloud in the cloud using the Solr Scale Toolkit
thelabdude
 
Curator intro
Jordan Zimmerman
 
Native container monitoring
Rohit Jnagal
 
Call me maybe: Jepsen and flaky networks
Shalin Shekhar Mangar
 
RENCI User Group Meeting 2017 - I Upgraded iRODS and I still have all my hair
John Constable
 
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Joe Stein
 
How to make a simple cheap high availability self-healing solr cluster
lucenerevolution
 
Sanger OpenStack presentation March 2017
Dave Holland
 
Introduction to Mesos
koboltmarky
 
Developing Frameworks for Apache Mesos
Joe Stein
 
Solr Exchange: Introduction to SolrCloud
thelabdude
 
Python and cassandra
Jon Haddad
 
Fact-Based Monitoring - PuppetConf 2014
Puppet
 
Exhibitor Introduction
Jordan Zimmerman
 
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
Open Source Consulting
 
Streaming Processing with a Distributed Commit Log
Joe Stein
 
Building Web Scale Apps with Docker and Mesos by Alex Rukletsov (Mesosphere)
Docker, Inc.
 
Supercharging Content Delivery with Varnish
Samantha Quiñones
 
Docker, Mesos, Spark
Qiang Wang
 
Introduction to Apache Mesos
Joe Stein
 

Viewers also liked (20)

PPTX
Winter is coming? Not if ZooKeeper is there!
Joydeep Banik Roy
 
PPTX
Introduction to Apache ZooKeeper
Saurav Haloi
 
PDF
Apache ZooKeeper
Scott Leberknight
 
PDF
Dynamic Reconfiguration of Apache ZooKeeper
DataWorks Summit
 
PDF
Zookeeper
ltsllc
 
PPT
Zookeeper Introduce
jhao niu
 
PDF
Apache ZooKeeper TechTuesday
Andrei Savu
 
PDF
Distributed system coordination by zookeeper and introduction to kazoo python...
Jimmy Lai
 
PDF
ZooKeeper - wait free protocol for coordinating processes
Julia Proskurnia
 
PDF
Zookeeper In Action
juvenxu
 
PPTX
Introduction to Kafka and Zookeeper
Rahul Jain
 
PDF
ASTD to ATD- The Five Characteristics of an Adaptive Culture-Blog Post 2014
KHADEIDRA LE GENDRE, M.A.
 
DOC
Report About Eng. Materials
Ahmed Abdelwahed
 
PDF
99 pledges official ppt pdf
Cyndy Patrick
 
PPTX
Manifesto Introduction
bobcatroom24
 
DOCX
Ejercios resueltos analogik
orlifreitez
 
PPTX
Doodling graphic recording
KHADEIDRA LE GENDRE, M.A.
 
PPTX
Cloud Computing Security
Anshul Patel
 
PPTX
Cost average efekt
Jiří Havrlant
 
PDF
Summer traininig-report ntpc anta content
nishant pareek
 
Winter is coming? Not if ZooKeeper is there!
Joydeep Banik Roy
 
Introduction to Apache ZooKeeper
Saurav Haloi
 
Apache ZooKeeper
Scott Leberknight
 
Dynamic Reconfiguration of Apache ZooKeeper
DataWorks Summit
 
Zookeeper
ltsllc
 
Zookeeper Introduce
jhao niu
 
Apache ZooKeeper TechTuesday
Andrei Savu
 
Distributed system coordination by zookeeper and introduction to kazoo python...
Jimmy Lai
 
ZooKeeper - wait free protocol for coordinating processes
Julia Proskurnia
 
Zookeeper In Action
juvenxu
 
Introduction to Kafka and Zookeeper
Rahul Jain
 
ASTD to ATD- The Five Characteristics of an Adaptive Culture-Blog Post 2014
KHADEIDRA LE GENDRE, M.A.
 
Report About Eng. Materials
Ahmed Abdelwahed
 
99 pledges official ppt pdf
Cyndy Patrick
 
Manifesto Introduction
bobcatroom24
 
Ejercios resueltos analogik
orlifreitez
 
Doodling graphic recording
KHADEIDRA LE GENDRE, M.A.
 
Cloud Computing Security
Anshul Patel
 
Cost average efekt
Jiří Havrlant
 
Summer traininig-report ntpc anta content
nishant pareek
 
Ad

Similar to Meetup on Apache Zookeeper (20)

PDF
Apache Zookeeper
Nguyen Quang
 
PDF
Introduction to SolrCloud
Varun Thacker
 
PDF
Introduction to Apache ZooKeeper | Big Data Hadoop Spark Tutorial | CloudxLab
CloudxLab
 
PDF
Vault
dawnlua
 
PDF
Deploying and managing Solr at scale
Anshum Gupta
 
PPTX
Benchmarking Solr Performance at Scale
thelabdude
 
PPTX
Architecting for Microservices Part 2
Elana Krasner
 
PDF
DCSF19 Container Security: Theory & Practice at Netflix
Docker, Inc.
 
PPTX
Benchmarking Solr Performance
Lucidworks
 
PDF
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...
Lucidworks
 
PDF
Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014
Shalin Shekhar Mangar
 
PPTX
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Lucidworks (Archived)
 
PPTX
Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays Virtual Exper...
InfluxData
 
PDF
Scaling SolrCloud to a Large Number of Collections: Presented by Shalin Shekh...
Lucidworks
 
PPTX
SFBay Area Solr Meetup - June 18th: Benchmarking Solr Performance
Lucidworks (Archived)
 
PPTX
Zookeeper Tutorial for beginners
jeetendra mandal
 
PDF
Mini-Training: Netflix Simian Army
Betclic Everest Group Tech Team
 
PPT
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
PROIDEA
 
PPT
Flying to clouds - can it be easy? Cloud Native Applications
Jacek Bukowski
 
PPTX
Windows 8 Apps and the Outside World
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Apache Zookeeper
Nguyen Quang
 
Introduction to SolrCloud
Varun Thacker
 
Introduction to Apache ZooKeeper | Big Data Hadoop Spark Tutorial | CloudxLab
CloudxLab
 
Vault
dawnlua
 
Deploying and managing Solr at scale
Anshum Gupta
 
Benchmarking Solr Performance at Scale
thelabdude
 
Architecting for Microservices Part 2
Elana Krasner
 
DCSF19 Container Security: Theory & Practice at Netflix
Docker, Inc.
 
Benchmarking Solr Performance
Lucidworks
 
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...
Lucidworks
 
Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014
Shalin Shekhar Mangar
 
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Lucidworks (Archived)
 
Paul Dix [InfluxData] | InfluxDays Opening Keynote | InfluxDays Virtual Exper...
InfluxData
 
Scaling SolrCloud to a Large Number of Collections: Presented by Shalin Shekh...
Lucidworks
 
SFBay Area Solr Meetup - June 18th: Benchmarking Solr Performance
Lucidworks (Archived)
 
Zookeeper Tutorial for beginners
jeetendra mandal
 
Mini-Training: Netflix Simian Army
Betclic Everest Group Tech Team
 
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
PROIDEA
 
Flying to clouds - can it be easy? Cloud Native Applications
Jacek Bukowski
 
Ad

More from Anshul Patel (11)

PDF
Open Source Identity and Access management with Keycloak.pdf
Anshul Patel
 
PDF
Safeguarding Container Supply Chain - Anshul Patel
Anshul Patel
 
PPTX
Chaos engineering with Litmus Chaos Framework
Anshul Patel
 
PDF
Docker Fundamentals
Anshul Patel
 
PPTX
Chaos Engineering with Gremlin Platform
Anshul Patel
 
PDF
Chaos Engineering
Anshul Patel
 
PPTX
Introduction to docker_notary_v1.0.0
Anshul Patel
 
PPTX
Linux Operating System Fundamentals
Anshul Patel
 
PPTX
Building CLI Applications with Golang
Anshul Patel
 
PPTX
Linux kit meetup_v1.0.0
Anshul Patel
 
PPTX
AWS ECS Meetup Talentica
Anshul Patel
 
Open Source Identity and Access management with Keycloak.pdf
Anshul Patel
 
Safeguarding Container Supply Chain - Anshul Patel
Anshul Patel
 
Chaos engineering with Litmus Chaos Framework
Anshul Patel
 
Docker Fundamentals
Anshul Patel
 
Chaos Engineering with Gremlin Platform
Anshul Patel
 
Chaos Engineering
Anshul Patel
 
Introduction to docker_notary_v1.0.0
Anshul Patel
 
Linux Operating System Fundamentals
Anshul Patel
 
Building CLI Applications with Golang
Anshul Patel
 
Linux kit meetup_v1.0.0
Anshul Patel
 
AWS ECS Meetup Talentica
Anshul Patel
 

Recently uploaded (20)

PDF
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
PDF
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
DOCX
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
PDF
The Internet - By the numbers, presented at npNOG 11
APNIC
 
PDF
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
PPTX
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
PDF
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
PPTX
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
PPTX
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PPTX
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
PPTX
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
PDF
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
PDF
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
PPTX
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
PPTX
法国巴黎第二大学本科毕业证{Paris 2学费发票Paris 2成绩单}办理方法
Taqyea
 
PDF
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
PDF
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
PPTX
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
PPTX
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
Custom vs. Off-the-Shelf Banking Software
KristenCarter35
 
The Internet - By the numbers, presented at npNOG 11
APNIC
 
BRKACI-1001 - Your First 7 Days of ACI.pdf
fcesargonca
 
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
Apple_Environmental_Progress_Report_2025.pdf
yiukwong
 
Softuni - Psychology of entrepreneurship
Kalin Karakehayov
 
一比一原版(SUNY-Albany毕业证)纽约州立大学奥尔巴尼分校毕业证如何办理
Taqyea
 
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PE introd.pptxfrgfgfdgfdgfgrtretrt44t444
nepmithibai2024
 
L1A Season 1 ENGLISH made by A hegy fixed
toszolder91
 
Azure_DevOps introduction for CI/CD and Agile
henrymails
 
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
Lec15_Mutability Immutability-converted.pptx
khanjahanzaib1
 
法国巴黎第二大学本科毕业证{Paris 2学费发票Paris 2成绩单}办理方法
Taqyea
 
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
BRKACI-1003 ACI Brownfield Migration - Real World Experiences and Best Practi...
fcesargonca
 
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 

Meetup on Apache Zookeeper

  • 2. What is distributed system ? • A distributed systems provides single coherent view of collection of independent computing machines. • Multiple software components on multiple computers, which run as a single system. • It can be locally or geographically connected.
  • 3. Characteristics of Distributed System • Concurrency • Fault Tolerance • Scalability • Transparency • Heterogeneity
  • 4. Delusion of Distributed System • Reliable Network • Zero Latency • Infinite Bandwidth • Secure Network • Topology Doesn’t change • Homogeneous Network • There is one administrator
  • 5. Introducing Zookeeper • Zookeeper provides coordination between distributed process via shared hierarchical namespace.
  • 6. Why Zookeeper ? • Naming Service • Locking • Synchronization • Configuration Management • Leader Election
  • 8. Zookeeper Architecture • Zookeeper follows client server architecture • Collection of Zookeeper servers is called an ensemble • At given time, a Zookeeper client is connected to one Zookeeper server • Client read requests are catered by connected Zookeeper server • Client write requests are forwarded to Zookeeper leader. • Write is considered successful, if quorum is achieved.
  • 9. Zookeeper Architecture • Client updates are sequentially consistent • Updates are atomic • Updates are reliable • Timeliness
  • 10. ZAB Protocol • Zookeeper Atomic Broadcast • Propagates state changes from leader to followers • Guarantees the state change
  • 11. Znodes • Organized similar to standard Unix and Linux file system • Similar to files and directories • Both directory and leaf znode holds data • Stores data <= 1MB
  • 12. Znode - Hierarchical Namespace
  • 13. Time in Zookeeper • Zxid : Every change to ZK state receives a stamp in form of zxid • Version Number : Change to Znode will cause change in Version • Ticks : Ticks define timing of events • Real Time : To put timestamp of stat structure and znode modification
  • 14. Znode Stat Structure • Czxid : Change that caused Znode to be created • Mzxid : Change that last modified Znode • Pzxid : Change that last modified children of the Znode • Ctime : Millisecond from epoch, when this Znode was created • Mtime : Millisecond from epoch, when this Znode was last modified • Version : Number of changes to data of Znode • Cversion : Number of changes to children of Znode • Aversion : Number of changes to ACL of Znode • EphemeralOwner : SessionId of owner of this Znode • DataLength : Length of data field • Numchildren : Number of children
  • 15. Zookeeper Operations create Creates Znode delete Deletes Znode exists Does Znode exist? getACL Get ACL permissions setACL Set ACL permissions
  • 16. Zookeeper Operations getChildren Gets the childrens of Znode getData Gets Data of Znode setData Sets Data of Znode Sync Syncs the client View
  • 17. Types of Znodes • Ephemeral Znode : Deleted with termination of client session, also can’t have any child znode. • Persistent Znode : Can have child znode, It is explicitly required to delete it. • Sequential Znode : Append a monotonicly increasing counter to the end of path. It is unique to parent znode.
  • 18. Znode Watchers • One time triggers • Sent to client which sets the watch • Maintained locally at zookeeper • Client won’t receive watches after getting disconnected • Two lists of watches – Data watches : create(),setData(), delete() – Child watches : create(), delete()
  • 19. Zookeeper ACL • ACL Permission – Create – Read – Write – Delete – Admin
  • 20. Zookeeper ACL • ACL Scheme – World – Auth – Digest – Host – IP
  • 21. Zookeeper Recipes/Higher Order Functions/Apache Curator • Naming Service • Service Discovery • Configuration Management • Locks • 2-phase commit • Leader Election • Barriers • Queues
  • 22. Netflix/Soabase Exhibitor • Zookeeper server is fail fast • Zookeeper is self-healing, (i.e. crashed/failed server if brought online, will automatically join the cluster) • Instance Monitoring • Log Cleanup • Backup/Restore • Cluster-wide configuration • Rolling Ensemble Change • Rich REST API
  • 23. Backup/Exhibitor • Online Backup - Use Netflix Exhibitor • Offline Backup - Bring down the old ensemble cluster and copy the zookeeper data directory to the new ensemble cluster
  • 24. Zookeeper Monitoring • 4 Letter Words • JMX
  • 25. Zookeeper Monitoring - 4 Letter Words conf srst cons srvr dump stat envi dirs (3.5.1) ruok mntr
  • 26. Zookeeper Monitoring - JMX • Mbeans Quorum ServerCnxn Leader LocalPeer Follower LeaderElection DataTree
  • 27. Data Directory Cleanup • autopurge.snapRetainCount : Maintains n number of recent snapshots along with transaction log • autopurge.purgeInterval : Time Interval at which purge event will trigger
  • 28. Zookeeper Future Releases - 3.5.X • Dynamic Reconfiguration w/o Rolling restarts • Separate Dynamic configuration file • Adding/Removing Servers • Modifying server parameters • Rebalance Client Connections • Backward Compatible • Modifying Server Roles[Obersver/Participants]
  • 29. Zookeeper in Real World • Apache Kafka • Apache Storm • Apache HBase • Apache Solr • Apache Mesos • Apache Hive