The second-zookeeper history of zookeeper series

Source: Internet
Author: User

What is zookeeper?

Zookeeper is a distributed, open source distributed application Coordination Service that is an open source version of Google's chubby. It is a software that provides consistent services for distributed applications, including configuration services, naming services, distributed synchronization, group services, and so on.

Zookeeper target?

The goal of zookeeper is to encapsulate complex and error-prone services that provide users with easy-to-use interfaces and performance-efficient, robust systems.

Zookeeper principle?

Zookeeper is based on the fast Paxos algorithm, the Paxos algorithm has a live lock problem, that is, when there are multiple proposer interleaved submissions, it is possible to repel each other so that no proposer can be submitted successfully, and fast Paxos made some optimizations, Through the election to produce a leader, only leader to submit propose, the specific algorithm visible fast Paxos. Therefore, to understand zookeeper first need to know about fast Paxos.

Basic operating procedure of zookeeper:

1, election leader.

2. Synchronize data.

3. There are many algorithms in the process of election leader, but the election standards to be met are consistent.

4, leader to have the highest zxid.

5, the urgent masses of the machine to get the corresponding and follow selected leader.

Zookeeper features?

In zookeeper, Znode is a node similar to a UNIX file system path that can store or fetch data to that node. If the Chuang

The second-zookeeper history of zookeeper series

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.