资源描述:
《ZooKeeper介绍.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ApacheZooKeeperAbyAbrahamHUG–IndiaMeetNovember28,2009NoidaAgenda»OverviewofZookeeper»Usecasesandexamples»Essentialinternals»Futuredirections»Relatedworksandreferences-2-WhatisZookeeper?»Ascalable,distributed,open-sourcecoordinationservicefordistributedapplications»Providesasi
2、mplesetofprimitivestoimplementhigherlevelservicesforsynchronization,configurationmaintenance,consensus,leaderelection,groupsandnaminginadistributedsystem.-3-WhyUseZookeeper?»Ifyoulovetohavesleeplessnightsdebuggingdistributedsynchronizationproblems–pleaseignoretherestofthepres
3、entation»Difficultyofimplementingdistributedservices›Complexdistributedalgorithmsarenotoriouslydifficulttoimplementcorrectly›Pronetoraceconditionsanddeadlocks.Anddistributeddeadlocksaretheworst!›Differentimplementationsleadtomanagementcomplexitywhentheapplicationsaredeployed»
4、OtherprogrammingmodelsusingdistributedlocksorStateMachineReplicationaredifficulttousecorrectly»Zookeepersolvestheseproblemsforusbyprovidingasimpleandalreadyfamiliarprogrammingmodel»Zookeeperprovidesreusablecodelibrariesforcommonusecases–veryeasytouse-4-WhousesZookeeper?»Deepd
5、yve-Doessearchforresearchandprovideaccesstohighqualitycontentusingadvancedsearchtechnologies.ZKisusedtomanageserverstate,controlindexdeploymentandamyriadothertasks»Katta-KattaservesdistributedLuceneindexesinagridenvironment.ZKisusedfornode,masterandindexmanagementinthegrid»10
6、1tec–Doesconsultingintheareaofenterprisedistributedsystems.UsesZKtomanageasystembuildoutofhadoop,katta,oraclebatchjobsandawebcomponent»Hbase–HBaseisanopen-sourcedistributedcolumn-orienteddatabaseonhadoop.UsesZKformasterelection,serverleasemanagement,bootstrapping,andcoordinat
7、ionbetweenservers.»Rackspace–Email&AppsteamusesZKtoco-ordinatesharding,handlingresponsibilitychanges,anddistributedlocking»Yahoo!–ZKisusedforamyriadofservicesinsideYahoo!fordoingleaderelection,configurationmanagement,clustermanagement,loadbalancing,sharding,locking,workqueues
8、,groupmembershipetc»GoingtobeincludedinClouderaDistributionofHadoop»