Update Zookeeper简介及核心概念.md

This commit is contained in:
heibaiying 2021-02-23 13:29:07 +08:00 committed by GitHub
parent d590f37654
commit 1f6a8110ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ Zookeeper 采用 ACL(Access Control Lists) 策略来进行权限控制,类似
### 4.1 ZAB协议与数据一致性
ZAB 协议是 Zookeeper 专门设计的一种支持崩溃恢复的原子广播协议。通过该协议Zookeepe 基于主从模式的系统架构来保持集群中各个副本之间数据的一致性。具体如下:
ZAB 协议是 Zookeeper 专门设计的一种支持崩溃恢复的原子广播协议。通过该协议Zookeeper 基于主从模式的系统架构来保持集群中各个副本之间数据的一致性。具体如下:
Zookeeper 使用一个单一的主进程来接收并处理客户端的所有事务请求,并采用原子广播协议将数据状态的变更以事务 Proposal 的形式广播到所有的副本进程上去。如下图:
@ -207,4 +207,4 @@ Zookeeper 还能解决大多数分布式系统中的问题:
<div align="center"> <img src="https://gitee.com/heibaiying/BigData-Notes/raw/master/pictures/weixin-desc.png"/> </div>
<div align="center"> <img src="https://gitee.com/heibaiying/BigData-Notes/raw/master/pictures/weixin-desc.png"/> </div>