当前位置:网站首页>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
边栏推荐
- 构造函数 & 析构函数
- Common scenes of vector product in image
- Code cloud download history version process
- 基于RestTemplate的服务调用
- C reads excel specific data into specific columns of DataGridView
- When pycharm debugs, view the tensor image of pytorch in the console
- Colon function and explicit keyword in constructor
- JS prototype and prototype chain
- VMware download and installation links are very easy to use
- Online timing flow chart making tool
猜你喜欢

Database Experiment four View experiment

服务雪崩、服务熔断、服务降级

微服务系统中服务降级

Online timing flow chart making tool

Mixed use of Oracle column row conversion and comma truncated string

Tear the Google SRE book by hand

开发consul 客户端即微服务

LabVIEW modify the appearance of the application window

About the program error caused by dateutil time tool class

OpenFeign超时设置
随机推荐
分布式系统服务熔断
Hystrix组件
Pytorch installation link sharing
Easylaser laser shaft alignment instrument maintenance homocentric instrument maintenance E420
服务雪崩效应
Strictly, severely and quickly strengthen food safety supervision during the epidemic in Shanghai
五个拿来就能用的炫酷登录页面
基于RestTemplate的服务调用
将本地上的图片转换成Base64编码
April 24, 2022 Daily: current progress and open challenges of applying deep learning in the field of Bioscience
Implementation of service fusing
A method of asynchronous response of application service through load balancing
2022 - 04 - 24 Daily: Current Progress and Open Challenges of Applied Deep Learning in Biological Sciences
Error message: b04access.00f eve'. Read of address 000001B4
About the program error caused by dateutil time tool class
Database Experiment four View experiment
2022-04-24日報:在生物科學領域應用深度學習的當前進展和開放挑戰
Pytorch deep learning practice (2)
构造函数 & 析构函数
14岁懂社会-《给想要成为医生的你》读书笔记