In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Zookeeper is a reliable coordination system for large distributed systems.
1) it provides functions such as configuration maintenance, name service, distributed synchronization, group service, etc.
2) its goal is to encapsulate complex and error-prone key services, and to provide users with simple and easy-to-use interfaces and systems with efficient performance and stable functions.
Features:
1, final consistency: show the client the same attempt
2. Reliability: if a message is accepted by one server, it will be accepted by all servers.
3, real-time: zookeeper can not guarantee that two clients can get the newly updated data at the same time. If you need the latest data, you should call the sync () API before reading the data.
4. Wait irrelevant (wait-free): slow or invalid client does not interfere with fast client requests.
5, atomicity: the update operation either succeeds or fails, with no intermediate state.
6. Sequence: for all server, the same message is published in the same order.
Basic principles
There are many server, which can be divided into master and subordinate, but there is one leader and the other is follower.
Each server has a piece of data in memory. When it is started, a leader will be elected according to the poxos protocol.
Leader handles data update operations, using the zab protocol
A sign of a successful update operation, most of the server is in memory, and the data is modified successfully (one has 5, 3 have been written successfully)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.