当前位置:网站首页>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
边栏推荐
- C语言中sizeof操作符的坑
- Skills in analyzing the trend chart of London Silver
- Pytoch --- use pytoch to realize linknet for semantic segmentation
- Nine Qi single chip microcomputer ny8b062d single key control four LED States
- Significance of acrel EMS integrated energy efficiency platform in campus construction
- 用快解析内网穿透实现零成本自建网站
- 积分商城游戏设置的基本要点
- Instructions for go defer
- PMP certificate renewal process
- Face recognition 5- insight face padding code practice notes
猜你喜欢
基于三维gis平台的消防系统运用
A new method for analyzing the trend chart of London Silver
IT转测试岗,从迷茫到坚定我究竟付出了什么?
2022.07.03(LC_6111_统计放置房子的方式数)
初识ROS
企业公司项目开发好一部分基础功能,重要的事保存到线上第一a
业务场景功能的继续修改
How to use fast parsing to make IOT cloud platform
Detailed explanation of openharmony resource management
"Xiaodeng" domain password policy enhancer in operation and maintenance
随机推荐
JS 将伪数组转换成数组
如何将自己的代码作品快速存证,已更好的保护自己劳动成果
人脸识别5- insight-face-paddle-代码实战笔记
URL和URI
P3304 [sdoi2013] diameter (diameter of tree)
(脚本)一键部署redis任意版本 —— 筑梦之路
Actual combat simulation │ JWT login authentication
基于三维gis平台的消防系统运用
It's too convenient. You can complete the code release and approval by nailing it!
TS快速入门-函数
[IELTS reading] Wang Xiwei reading P3 (heading)
Tester's algorithm interview question - find mode
Detailed explanation of openharmony resource management
【北京大学】Tensorflow2.0-1-开篇
公司要上监控,Zabbix 和 Prometheus 怎么选?这么选准没错!
Pytoch --- use pytoch to realize linknet for semantic segmentation
基本放大电路的学习
【路径规划】RRT增加动力模型进行轨迹规划
Fast parsing intranet penetration helps enterprises quickly achieve collaborative office
In the enterprise, win10 turns on BitLocker to lock the disk, how to back up the system, how to recover when the system has problems, and how to recover quickly while taking into account system securi