当前位置:网站首页>Distributed base theory
Distributed base theory
2022-07-05 00:18:00 【Zhan sir (open source byte)】
What is? BASE
eBay Architect Dan Pritchett From the practice summary of large-scale distributed system , stay ACM Put forward in an article published on BASE theory ,BASE The theory is right CAP The extension of theory , The core idea is that even if strong consistency cannot be achieved (Strong Consistency,CAP Consistency is strong consistency ), But the application can achieve final consistency in a suitable way (Eventual Consitency).
- Basically Available( Basic available ) In case of unpredictable failure of distributed system , Partial loss of availability is allowed
- Soft state( Soft state ) Soft state is also called weak state , As opposed to the hard state , It means that the data in the system is allowed to exist in an intermediate state , The existence of the intermediate state will not affect the overall availability of the system , That is to say, there is a delay in the process of data synchronization between data copies of different nodes .
- Eventually consistent( Final consistency ) Finally, consistency emphasizes all copies of data in the system , After a period of synchronization , Eventually a consistent state can be reached . therefore , The essence of final consistency is to ensure that the final data can be consistent , It does not need to guarantee the strong consistency of system data in real time
CAP And BASE Relationship
BASE It's right CAP The result of the trade-off between consistency and availability , It comes from the conclusion of distributed practice of large-scale Internet system , Is based on CAP The theorem evolved gradually , The core idea is that even if strong consistency cannot be achieved (Strong consistency), More specifically , It's right CAP in AP A supplement to the plan . The basic idea is : Through business , Gain usability at the expense of strong consistency , And allow data to be inconsistent over time , But it finally reached a consistent state .

CAP And ACID Relationship
ACID It is a common design concept of traditional database , The pursuit of a strong consistency model .BASE It supports large distributed systems , High availability is achieved by sacrificing strong consistency .
ACID and BASE Represents two completely opposite design philosophy , In the scenario of distributed system design , System components have different requirements for consistency , therefore ACID and BASE It will be used in combination with .
If you reprint , Please indicate the source : Open source byte https://sourcebyte.cn/article/177.html
边栏推荐
- Introduction to ACM combination counting
- 两个数相互替换
- 打新债开户注册安全吗?有没有风险的?靠谱吗?
- 企业应用业务场景,功能添加和修改C#源码
- Fs8b711s14 electric wine bottle opener MCU IC scheme development special integrated IC
- Go step on the pit - no required module provides package: go mod file not found in current directory or any parent
- The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
- 端口映射和端口转发区别是什么
- 他做国外LEAD,用了一年时间,把所有房贷都还清了
- Basic points of the game setup of the points mall
猜你喜欢

Verilog tutorial (11) initial block in Verilog

Face recognition 5- insight face padding code practice notes

Build your own minecraft server with fast parsing

如何在外地外网电脑远程公司项目?
![[path planning] RRT adds dynamic model for trajectory planning](/img/98/dd9b106fd9dc64e676d9c943c03ab3.jpg)
[path planning] RRT adds dynamic model for trajectory planning

How to use fast parsing to make IOT cloud platform

微服务(Microservice)那点事儿

Hisilicon 3559 universal platform construction: YUV422 pit stepping record
![[论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection](/img/25/e2366cabf00e55664d16455a6049e0.png)
[论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection
![[paper reading] cavemix: a simple data augmentation method for brain vision segmentation](/img/41/eb790e7419a158e985fa503bd7dc17.png)
[paper reading] cavemix: a simple data augmentation method for brain vision segmentation
随机推荐
企业应用业务场景,功能添加和修改C#源码
Paper notes multi UAV collaborative monolithic slam
Tester's algorithm interview question - find mode
Pytoch --- use pytoch to realize linknet for semantic segmentation
如何将自己的代码作品快速存证,已更好的保护自己劳动成果
两个数相互替换
雅思考试流程、需要具体注意些什么、怎么复习?
【报错】 “TypeError: Cannot read properties of undefined (reading ‘split‘)“
(脚本)一键部署redis任意版本 —— 筑梦之路
P4408 [noi2003] truant children (tree diameter)
PMP certificate renewal process
Some basic functions of enterprise projects are developed, and important things are saved to online first a
Illustrated network: what is gateway load balancing protocol GLBP?
Is the account opening link of Huatai Securities with low commission safe?
如果炒股开华泰证券的户,在网上开户安全吗?
Go pit - no required module provides Package: go. Mod file not found in current directory or any parent
lambda表达式
同事的接口文档我每次看着就头大,毛病多多。。。
快解析内网穿透帮助企业快速实现协同办公
[monitoring] ZABBIX