An Introduction to Apache Zookeeper - PowerPoint PPT Presentation

About This Presentation
Title:

An Introduction to Apache Zookeeper

Description:

An Introduction to Apache Zookeeper, what is it used for ? How does it work and what is it's architecture ? – PowerPoint PPT presentation

Number of Views:2211
Slides: 8
Provided by: semtechs

less

Transcript and Presenter's Notes

Title: An Introduction to Apache Zookeeper


1
Apache Zookeeper
  • What is it ?
  • How does it work ?
  • Problems
  • Architecture
  • Reliability

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
2
Zookeeper What is it ?
  • A coordination service
  • For distributed systems
  • Makes cluster coordination
  • Fast
  • Scalable
  • Runs on a cluster of servers
  • Offers pre defined functionality
  • No need to re invent the wheel
  • Best for read dominant work loads

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
3
Zookeeper How does it work ?
  • Works via an ensemble of servers
  • Clients write changes to ensemble
  • Changes processed strictly in order received
  • Ensemble selects a leader
  • Leader re elected in case of failure
  • Designed for small data volumes / meta data

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
4
Zookeeper How does it work ?
  • Change considered successful if
  • It reaches a quorum
  • Quorum is at least half of ensemble
  • A server will disconnect clients if
  • It cant contact quorum within a given time
  • Cluster will function if half of servers up
  • When a failed server re starts it will
  • Re sync with the ensemble

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
5
Distributed System Problems
  • What type of problems do distributed systems
    encounter
  • Inconsistency
  • Configuration inconsistencies across cluster
  • Race conditions
  • Unexpected behaviour due to timing of events
  • Dead locks
  • Contention for resources

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
6
Zookeeper Name Space
  • Zookeeper nodes use a hierarchical name space
  • Like a file system but for low data volumes
  • Path elements separated by a slash ( / )
  • Every node in name space identified by a path

www.semtech-solutions.co.nz info_at_semtech-solutio
ns.co.nz
7
Contact Us
  • Feel free to contact us at
  • www.semtech-solutions.co.nz
  • info_at_semtech-solutions.co.nz
  • We offer IT project consultancy
  • We are happy to hear about your problems
  • You can just pay for those hours that you need
  • To solve your problems
Write a Comment
User Comments (0)
About PowerShow.com