当前位置:网站首页>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
边栏推荐
- Business implementation - the log is written to the same row of data
- [论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection
- ORB(Oriented FAST and Rotated BRIEF)
- 雅思考试流程、需要具体注意些什么、怎么复习?
- Detailed explanation of openharmony resource management
- URL和URI
- Jar batch management gadget
- 城市轨道交通站应急照明疏散指示系统设计
- Go step on the pit - no required module provides package: go mod file not found in current directory or any parent
- (script) one click deployment of any version of redis - the way to build a dream
猜你喜欢
业务场景功能的继续修改
JS how to realize array to tree
Learning of basic amplification circuit
雅思考试流程、需要具体注意些什么、怎么复习?
[path planning] RRT adds dynamic model for trajectory planning
如何用快解析自制IoT云平台
用快解析内网穿透实现零成本自建网站
It's too convenient. You can complete the code release and approval by nailing it!
OpenHarmony资源管理详解
Application of multi loop instrument in base station "switching to direct"
随机推荐
IT转测试岗,从迷茫到坚定我究竟付出了什么?
Get to know ROS for the first time
2022.07.03(LC_6109_知道秘密的人数)
JS how to realize array to tree
如何在外地外网电脑远程公司项目?
积分商城游戏设置的基本要点
Hisilicon 3559 universal platform construction: YUV422 pit stepping record
JS convert pseudo array to array
Significance of acrel EMS integrated energy efficiency platform in campus construction
uniapp微信小程序拿来即用的瀑布流布局demo2(方法二)(复制粘贴即可使用,无需做其他处理)
模板的进阶
Introduction to ACM combination counting
Application of multi loop instrument in base station "switching to direct"
Best practice case of enterprise digital transformation: introduction and reference of cloud based digital platform system security measures
Date time type and format in MySQL
同事的接口文档我每次看着就头大,毛病多多。。。
The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)
【selenium自动化】常用注解
挖财学院开户安全的吗?开户怎么开?
Continuous modification of business scenario functions