当前位置:网站首页>Cap theorem
Cap theorem
2022-04-23 15:39:00 【dengk2013】

Uniformity C Indicates that after the update operation is successful , All nodes have the same data at the same time . Strong consistency inevitably leads to inefficiency , For example , If the money from China Merchants Bank is transferred to Shanghai Pudong Development Bank , Both parties must make sure that the deduction received is successful before it is returned to the client , After the transfer, the interface will make us wait 5S, this 5S Time is when both systems are confirming .
Usability A When accessing data on behalf of a user , Whether the system can return the expected results in normal response time , For example, after the order system orders successfully , To pass the rpc Call the inventory system to deduct inventory , At this time, the operation of deducting inventory is more complex , Time consuming comparison field , In order to give users a better experience , We will asynchronously return a successful ack, Then let the user check , Ensure a good user experience .
Partition tolerance P Represents when a distributed system encounters a node or network partition failure , Still be able to provide external services to meet the consistency or availability . For example, the commonly used microservice multi cluster deployment is partition fault tolerance , That is, after a node goes down , Other nodes are available .

AP It shows that after the order is created, the processing result is returned directly without waiting for inventory reduction
CP It shows that after the order is created, the result is returned only after the inventory is reduced
AC The performance is that the data system is no longer split , Complete the operation in a transaction of a database , That is monomer application
版权声明
本文为[dengk2013]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231537380200.html
边栏推荐
- Control structure (I)
- cadence SPB17. 4 - Active Class and Subclass
- 自动化测试框架常见类型▏自动化测试就交给软件测评机构
- Advantages, disadvantages and selection of activation function
- 电脑怎么重装系统后显示器没有信号了
- WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令
- CAP定理
- 激活函数的优缺点和选择
- Detailed explanation of kubernetes (IX) -- actual combat of creating pod with resource allocation list
- 控制结构(二)
猜你喜欢

Krpano panorama vtour folder and tour

激活函数的优缺点和选择

Wechat applet customer service access to send and receive messages

cadence SPB17. 4 - Active Class and Subclass

G007-HWY-CC-ESTOR-03 华为 Dorado V6 存储仿真器搭建

CAP定理

Mumu, go all the way

字节面试 transformer相关问题 整理复盘

What if the server is poisoned? How does the server prevent virus intrusion?

考试考试自用
随机推荐
pgpool-II 4.3 中文手册 - 入门教程
山寨版归并【上】
深度学习——超参数设置
Connect PHP to MSSQL via PDO ODBC
推荐搜索 常用评价指标
Hj31 word inversion
通過 PDO ODBC 將 PHP 連接到 MySQL
网站建设与管理的基本概念
如果conda找不到想要安装的库怎么办PackagesNotFoundError: The following packages are not available from current
What role does the software performance test report play? How much is the third-party test report charged?
大厂技术实现 | 行业解决方案系列教程
WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令
Krpano panorama vtour folder and tour
[backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
自动化测试框架常见类型▏自动化测试就交给软件测评机构
T2 icloud calendar cannot be synchronized
Redis主从复制过程
激活函数的优缺点和选择
For examination
电脑怎么重装系统后显示器没有信号了