1北京政法職業學院信息技術系,北京,100024
2北京中醫藥大學信息中心,北京,100029
3北京京北職業技術學院機電工程系,北京,101400
摘要:本文研究了一種分布式協調服務——ZooKeeper,它具有高性能、高可靠、高可擴展性、編程模型簡單等特點,可以簡化分布式應用程序的開發。本文不僅介紹了ZooKeeper的架構和特性,同時還結合具體實例演示了ZooKeeper在分布式系統開發中的具體使用方法
。
關鍵詞:分布式系統,分布式協調,服務,原語,同步
Development Edge Tool of Distributed System——Study of ZooKeeper
Runhua Wang1, Huamin Ren2,YanFang Zhou3
1 Department of information and technology, Beijing College of Politics and Law, Beijing, China, 100024
2 Information Center, Beijing University of Chinese Medicine, Beijing, China, 100029
Abstract: ZooKeeper as a kind of distributed coordinated service was studied in this paper,which has high efficiency,high reliable , high scalable and simpleness programming model etc. characteristics. ZooKeeper can simplify program development of distributed application. Framework and characteristic of ZooKeeper were briefed in this paper,and
at the same time the usage method of ZooKeeper in program development of distributed system was demonstrated through a specific demo.
Keywords: distributed system, distributed coordinated, service, primitive, synchronization.
參考文獻:
[1] Tom White, Hadoop: The Definitive Guide 2nd Edition, O’Reilly Media, 2011.
[2] Lars George, HBase: The Definitive Guide, O’Reilly Media, 2011.
[3] Patrick Hunt, MahadevKonar, Flavio P. Junqueira, Benjamin Reed, ZooKeeper: Wait-free coordination for Internet-scale systems, USENIX Annual Technology Conference,2010.
[4] Apache ZooKeeper官方文檔,http:// http://zookeeper.apache.org/
作者簡介:王潤華,女,碩士,講師,北京政法職業學院教師,研究方向為移動商務。