Objective
Learning technology must not be ambitious, leading to inner feelings of the Gondor movement. Theory is the cornerstone of practice, and practice is to deepen the understanding of the theory. Therefore the theory and the practice unifies, the theory does not understand on the practice, the practice does not see the theory, the theory will not practice again.
Zab protocol
The core of the Zab protocol is described in this way: all transaction requests must be handled by a globally unique server, such that the server is called the leader server. The rest of the other servers become follower servers. The leader server is responsible for translating a client transaction request into a transaction proposal (proposed) and distributing the proposal to all follower servers in the cluster. After the leader server waits for feedback from all follower servers, once more than half of the follower servers have the correct feedback, the leader server will distribute the commit message to all follower servers again. Requires that the previous proposal be submitted .
Zookeeper's Zab protocol