当前位置:网站首页>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
边栏推荐
- php函数
- Special analysis of China's digital technology in 2022
- Redis主从复制过程
- 字节面试 transformer相关问题 整理复盘
- Advantages, disadvantages and selection of activation function
- Common types of automated testing framework ▏ automated testing is handed over to software evaluation institutions
- Upgrade MySQL 5.1 to 5.66
- s16.基于镜像仓库一键安装containerd脚本
- 携号转网最大赢家是中国电信,为何人们嫌弃中国移动和中国联通?
- Cookie&Session
猜你喜欢
布隆过滤器在亿级流量电商系统的应用
Codejock Suite Pro v20.3.0
Neodynamic Barcode Professional for WPF V11.0
Mysql database explanation (10)
Detailed explanation of redirection and request forwarding
cadence SPB17. 4 - Active Class and Subclass
推荐搜索 常用评价指标
APISIX jwt-auth 插件存在错误响应中泄露信息的风险公告(CVE-2022-29266)
For examination
mysql乐观锁解决并发冲突
随机推荐
单体架构系统重新架构
MySQL query library size
深度学习调参的技巧
Openstack theoretical knowledge
ICE -- 源码分析
2022年中国数字科技专题分析
Node. JS ODBC connection PostgreSQL
字符串最后一个单词的长度
Go并发和通道
shell脚本中的DATE日期计算
Common types of automated testing framework ▏ automated testing is handed over to software evaluation institutions
网站某个按钮样式爬取片段
Mysql database explanation (10)
Deeply learn the skills of parameter adjustment
PHP 的运算符
字节面试 transformer相关问题 整理复盘
网站建设与管理的基本概念
After time judgment of date
Pytorch中named_parameters、named_children、named_modules函数
移动app测试如何进行?