当前位置:网站首页>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
边栏推荐
猜你喜欢

js中的this指向与原型对象

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

WeChat applet source code acquisition and decompilation method

MySQL高级学习笔记

flutter arr dependencies

VS通过ODBC连接MYSQL(一)

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

著名网站msdn.itellyou.cn原理分析

For penetration testing methods where the output point is a timestamp (take Oracle database as an example)

MySQL压缩包方式安装,傻瓜式教学
随机推荐
禅道安装及使用教程
理解js运算符
网页截图与反向代理
cocos create EditBox 输入文字被刘海屏遮挡修改
Flow control statement in js
ERROR Error: No module factory availabl at Object.PROJECT_CONFIG_JSON_NOT_VALID_OR_NOT_EXIST ‘Error
sql add default constraint
一个简单的bash转powershell案例
[windows]--- SQL Server 2008 super detailed installation tutorial
quick-3.5 ActionTimeline的setLastFrameCallFunc调用会崩溃问题
JS写一段代码,判断一个字符串中出现次数最多的字符串,并统计出现的次数JS
Linux modify MySQL database password
MySQL面试题大全(陆续更新)
Pure shell implementation of text replacement
The server time zone value ‘й‘ is unrecognized or represents more than one time zone
mysql common commands
2021年京东数据分析工程师秋招笔试编程题
小米手机短信定位服务激活失败
qt:cannot open C:\Users\XX\AppData\Local\Temp\main.obj.15576.16.jom for write
What is GameFi?