当前位置:网站首页>Talking about the understanding of CAP in distributed mode
Talking about the understanding of CAP in distributed mode
2022-07-31 06:01:00 【Floating life like a dream】
1. First of all, what does cap stand for
c stands for Consistency
a stands for availability
p stands for fault tolerance
2. A distributed system can satisfy at most two of the three characteristics of Consistency (consistency), Availability (availability), and Partition tolerance (partition tolerance). The three are not compatible.
3. Detailed description
Consistency means: under the requirement of consistency, when a system performs an update operation in a state of consistent data, it should ensure that the data of the system is still in a consistent state.
Availability means: the services provided by the system must always be available, and the results can always be returned within a limited time for each operation request of the user.
Partition fault tolerance means that when a distributed system encounters any network partition failure, it still needs to be able to provide services that meet the consistency and availability to the outside world, unless the entire network environment fails.
4. List such as:
Zk cluster ensures CP, redis cluster ensures AP
边栏推荐
猜你喜欢

Hyper-V新建虚拟机注意事项

动态规划(一)| 斐波那契数列和归递

【云原生】SQL(及存储过程)跑得太慢怎么办?

小米手机短信定位服务激活失败

Powershell中UTF-8环境中文乱码解决办法

JS写一段代码,判断一个字符串中出现次数最多的字符串,并统计出现的次数JS

VS通过ODBC连接MYSQL(一)

Eternal blue bug reappears
![[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version](/img/7e/1d27e3f1856ab8c6cbfc5221c717bb.png)
[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version

Principle analysis of famous website msdn.itellyou.cn
随机推荐
【云原生】开源数据分析 SPL 轻松应对 T+0
flutter 混合开发 module 依赖
Tencent Cloud Lightweight Server deletes all firewall rules
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
This in js points to the prototype object
What is the difference between NFT and digital collection?
Web Screenshots and Reverse Proxy
5 methods of MySQL paging query
flutter arr 依赖
VTK环境配置
[windows]--- SQL Server 2008 super detailed installation tutorial
Tencent Cloud GPU Desktop Server Driver Installation
一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
Several forms of Attribute Changer
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
WeChat applet source code acquisition and decompilation method
cocos2d-x-3.2 不能混合颜色修改
Understanding of js arrays
A simple bash to powershell case
cocoscreator3.5.2打包微信小游戏发布到QQ小游戏修改