编程知识 cdmana.com

Zookeeper

{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":" One 、ZooKeeper What is it? ?"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"ZooKeeper Is an open source distributed service framework Hadoop A subproject of ,Zookeeper Implementation such as data publishing \/ subscribe 、 Unified naming service 、 Distributed coordination \/ notice 、 Configuration Management 、 Distributed lock and distributed queue , Generally speaking zookeeper It is a database that supports adding, deleting, checking and modifying similar file system features , Assign tasks to nodes according to rules .zookeeper The underlying layer implements the functions of storing files and notification callback, and its data structure is similar to a standard file system , Compared to the file system zk Each node of can store data , But the size limit is 1M."},{"type":"text","marks":[{"type":"strong"}],"text":" Usually we use dubbo It is recommended to use zookeeper As a registry , It can also be used. redis,eureka As a registry , Of course, I only used them zookeeper,dubbo Equivalent to carrying a service framework ,zookeeper It's the center of service registration ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/8a\/fb\/8a384147ed1dcyya6b38598eca0dbffb.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":true,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"zk Data structure of "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.infoq.cn\/resource\/image\/d2\/f8\/d2780370c6db4e47b1f07b95bf7a9bf8.png","alt":null,"title":null,"style":null,"href":null,"fromPaste":true,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":"center","origin":null},"content":[{"type":"text","text":"zk The configuration file for the service "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢

Tags zookeeper
Scroll to Top