当前位置:网站首页>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
边栏推荐
- Upgrade MySQL 5.1 to 5.69
- Recommended search common evaluation indicators
- Advantages, disadvantages and selection of activation function
- G007-hwy-cc-estor-03 Huawei Dorado V6 storage simulator construction
- regular expression
- 移动app测试如何进行?
- Deeply learn the skills of parameter adjustment
- Elk installation
- Go语言数组,指针,结构体
- 木木一路走好呀
猜你喜欢
随机推荐
What exactly does the distributed core principle analysis that fascinates Alibaba P8? I was surprised after reading it
导入地址表分析(根据库文件名求出:导入函数数量、函数序号、函数名称)
Explanation of redis database (I)
通过 PDO ODBC 将 PHP 连接到 MySQL
Mysql database explanation (VII)
携号转网最大赢家是中国电信,为何人们嫌弃中国移动和中国联通?
Explanation of redis database (IV) master-slave replication, sentinel and cluster
Sorting and replying to questions related to transformer
Elk installation
What if the package cannot be found
PHP function
Go语言条件,循环,函数
cadence SPB17. 4 - Active Class and Subclass
G007-HWY-CC-ESTOR-03 华为 Dorado V6 存储仿真器搭建
utils.DeprecatedIn35 因升级可能取消,该如何办
推荐搜索 常用评价指标
YML references other variables
GFS distributed file system (Theory)
PHP PDO ODBC将一个文件夹的文件装载到MySQL数据库BLOB列,并将BLOB列下载到另一个文件夹
What role does the software performance test report play? How much is the third-party test report charged?