当前位置:网站首页>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
边栏推荐
- 导入地址表分析(根据库文件名求出:导入函数数量、函数序号、函数名称)
- Machine learning - logistic regression
- Codejock Suite Pro v20.3.0
- PHP PDO ODBC loads files from one folder into the blob column of MySQL database and downloads the blob column to another folder
- 移动金融(自用)
- 码住收藏▏软件测试报告模板范文来了
- What if the package cannot be found
- Deeply learn the skills of parameter adjustment
- 计算某字符出现次数
- Squid agent
猜你喜欢

Detailed explanation of MySQL connection query

时序模型:长短期记忆网络(LSTM)

移动金融(自用)

T2 icloud calendar cannot be synchronized

Advantages, disadvantages and selection of activation function

自主作业智慧农场创新论坛

深度学习——超参数设置

WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令

Wechat applet customer service access to send and receive messages

Machine learning - logistic regression
随机推荐
服务器中毒了怎么办?服务器怎么防止病毒入侵?
Collation of errors encountered in the use of redis shake
Upgrade MySQL 5.1 to 5.68
utils.DeprecatedIn35 因升级可能取消,该如何办
Independent operation smart farm Innovation Forum
Upgrade MySQL 5.1 to 5.67
[backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
T2 iCloud日历无法同步
Detailed explanation of kubernetes (IX) -- actual combat of creating pod with resource allocation list
Advantages, disadvantages and selection of activation function
字符串最后一个单词的长度
多级缓存使用
Knn,Kmeans和GMM
时序模型:长短期记忆网络(LSTM)
The El tree implementation only displays a certain level of check boxes and selects radio
Leetcode学习计划之动态规划入门day3(198,213,740)
Codejock Suite Pro v20.3.0
码住收藏▏软件测试报告模板范文来了
开源项目推荐:3D点云处理软件ParaView,基于Qt和VTK
Multitimer V2 reconstruction version | an infinitely scalable software timer