当前位置:网站首页>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
边栏推荐
猜你喜欢
Android software security and reverse analysis reading notes
The server time zone value ‘й‘ is unrecognized or represents more than one time zone
flutter 混合开发 module 依赖
MySQL面试题大全(陆续更新)
NFTs: The Heart of Digital Ownership
Tencent Cloud GPU Desktop Server Driver Installation
数据库 | SQL增删改查基础语法
JS写一段代码,判断一个字符串中出现次数最多的字符串,并统计出现的次数JS
Access database query
Linux modify MySQL database password
随机推荐
MySql创建数据表
What is an EVM Compatible Chain?
Chinese garbled solution in UTF-8 environment in Powershell
2021美赛C题M奖思路
VS connects to MYSQL through ODBC (2)
this points to the problem
[windows]--- SQL Server 2008 super detailed installation tutorial
Markdown help documentation
【云原生】微服务Nacos的简单介绍与使用
quick-3.5 无法使用模拟器修改
Android软件安全与逆向分析阅读笔记
MySQL压缩包方式安装,傻瓜式教学
[Cloud native] Open source data analysis SPL easily copes with T+0
cocos2d-x-3.2 不能混合颜色修改
Flutter mixed development module dependencies
MySQL高级语句(一)
Sqlite column A data is copied to column B
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
mysql启动报错The server quit without updating PID file几种解决办法
quick-3.6源码修改纪录