当前位置:网站首页>Differences between different registries
Differences between different registries
2022-04-23 22:10:00 【Leon_ Jinhai_ Sun】
# 1.CAP Theorem
- CAP Theorem :CAP The theorem is also called CAP principle , In a distributed system , Uniformity (Consistency)、 Usability (Availability)、 Partition tolerance (Partition tolerance).CAP Principle means , These three elements can only achieve two points at most , It's impossible to combine the three .
` Uniformity (C): All data backup in distributed system , Is it the same value at the same time .( Equivalent to all nodes accessing the same copy of the latest data )
` Usability (A): After some nodes in the cluster fail , Whether the cluster as a whole can respond to the client's read and write requests .( High availability for data updates )
` Zone tolerance (P), It's high availability , A node collapsed , Does not affect other nodes (100 Nodes , A few , No impact on Service , The more machines, the better )
# 2.Eureka characteristic
- Eureka No strong data consistency algorithm is used to guarantee the data consistency between different clusters Server The data are consistent , Strive for the final consistency of registry data only through data copy , Although we give up the strong consistency of data, we get Server The usability of , It reduces the cost of registration , It improves the robustness of cluster operation .
# 3.Consul characteristic
- be based on Raft Algorithm ,Consul Provide strong consistency of registry services , But because of Leader The node undertakes all the processing work , It will increase the cost of registration and discovery , Reduced service availability . adopt Gossip agreement ,Consul It can be monitored very well Consul Cluster operation , At the same time, it is convenient to notify all kinds of events , Such as Leader Selection occurs 、Server Address change, etc .
# 4.zookeeper characteristic
- be based on Zab agreement ,Zookeeper It can be used to build a service registration and discovery center with strong data consistency , In contrast, it sacrifices the availability of services and improves the time required for registration .
版权声明
本文为[Leon_ Jinhai_ Sun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/113/202204232157394182.html
边栏推荐
- 基于RestTemplate的服务调用
- Oracle intercepts special characters
- Ribbon组件基本介绍和使用
- Daily operation and maintenance knowledge -- 1
- OpenFeign 组件说明
- 在线Excel转CSV工具
- 将本地上的图片转换成Base64编码
- 2022-04-24日报:在生物科学领域应用深度学习的当前进展和开放挑战
- Hirschmann display maintenance computer controller repair
- Renesas ide: CS + for CC download, installation and basic use
猜你喜欢
资本追逐Near生态
NVM introduction, NVM download, installation and use (node version management)
LabVIEW设置应用程序显示标签透明
开发consul 客户端即微服务
Hirschmann display maintenance computer controller repair
C language programming based on loop structure (PTA)
14岁懂社会-《给想要成为医生的你》读书笔记
OpenFeign超时设置
延时消息常见实现方案
Mixed use of Oracle column row conversion and comma truncated string
随机推荐
Database experiment VI integrity language experiment
Database Experiment 5 Security Language Experiment
轻量化项目管理思路
C winfrom DataGridView click on the column header can not automatically sort the problem
不同注册中心区别
MySQL 回表
Beijialai touch screen maintenance 4pp065 0571-X74F
DW basic tutorial (I)
A solution of C batch query
Error message: b04access.00f eve'. Read of address 000001B4
21. Basic usage of MariaDB
Daily operation and maintenance knowledge -- 1
Pytorch deep learning practice (3)
Ribbon停止维护
服务注册中心和Ribbon组件回顾
LabVIEW collects mouse and keyboard data
MySQL back to table
LabVIEW采集鼠标、键盘数据
2022-04-24日报:在生物科学领域应用深度学习的当前进展和开放挑战
Mobile phone uses SSH to log in nanopi M1 summary (this time on the same LAN)