当前位置:网站首页>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
边栏推荐
- MySQL面试题大全(陆续更新)
- Flutter mixed development module dependencies
- Artifact SSMwar exploded Error deploying artifact.See server log for details
- What is the difference between NFT and digital collection?
- Sqlite column A data is copied to column B
- Flow control statement in js
- MySQL压缩包方式安装,傻瓜式教学
- Understanding SSRF, this article is enough
- MySQL高级语句(一)
- Why does read in bash need to cooperate with while to read the contents of /dev/stdin
猜你喜欢

unicloud 发布后小程序提示连接本地调试服务失败,请检查客户端是否和主机在同一局域网下

js中的对象与函数的理解

DeFi Token in the project management

朴素贝叶斯文本分类(代码实现)

CMOS管原理,及其在推挽电路中的应用

Build DVWA with phpstudy

On the side of Ali, tell me what are the application scenarios of message middleware you know?

Powershell中UTF-8环境中文乱码解决办法
![[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?](/img/40/be3a30743ee2bc6c82f82ab852f29c.png)
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?

QT VS中双击ui文件无法打开的问题
随机推荐
Global scope and function scope in js
js中的全局作用域与函数作用域
Chinese garbled solution in UTF-8 environment in Powershell
Error: Cannot find module 'D:\Application\nodejs\node_modules\npm\bin\npm-cli.js'
MYSQL事务与锁问题处理
VS通过ODBC连接MYSQL(二)
浅谈对分布式模式下CAP的理解
Several forms of Attribute Changer
Nmap的下载与安装
js中流程控制语句
MySql to create data tables
对js的数组的理解
This in js points to the prototype object
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
quick-3.5 ActionTimeline的setLastFrameCallFunc调用会崩溃问题
Filter out egrep itself when using ps | egrep
朴素贝叶斯文本分类(代码实现)
360 加固 file path not exists.
[Cloud native] Open source data analysis SPL easily copes with T+0
configure:error no SDL library found