当前位置:网站首页>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
边栏推荐
- lambda表达式
- 【报错】 “TypeError: Cannot read properties of undefined (reading ‘split‘)“
- JS how to realize array to tree
- It's too convenient. You can complete the code release and approval by nailing it!
- 快解析——好用的内网安全软件
- Business implementation - the log is written to the same row of data
- P4408 [noi2003] truant children (tree diameter)
- 跨域请求
- Instructions for go defer
- PermissionError: [Errno 13] Permission denied: ‘data. csv‘
猜你喜欢

【selenium自动化】常用注解

The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)

微服务(Microservice)那点事儿
![[论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection](/img/25/e2366cabf00e55664d16455a6049e0.png)
[论文阅读] TUN-Det: A Novel Network for Thyroid Ultrasound Nodule Detection

Illustrated network: what is gateway load balancing protocol GLBP?

快解析——好用的内网安全软件

abc 258 G - Triangle(bitset)

Microservice

URL和URI

How to effectively monitor the DC column head cabinet
随机推荐
Netcore3.1 JSON web token Middleware
22-07-02周总结
【雅思阅读】王希伟阅读P4(matching2段落信息配对题【困难】)
[IELTS reading] Wang Xiwei reading P4 (matching1)
如何有效对直流列头柜进行监测
Huawei employs data management experts with an annual salary of 2million! The 100 billion market behind it deserves attention
《论文笔记》Multi-UAV Collaborative Monocular SLAM
[IELTS reading] Wang Xiwei reading P3 (heading)
[monitoring] ZABBIX
Introduction to ACM combination counting
"Xiaodeng" domain password policy enhancer in operation and maintenance
js如何实现数组转树
The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)
Expand your kubecl function
Design of emergency lighting evacuation indication system for urban rail transit station
PermissionError: [Errno 13] Permission denied: ‘data. csv‘
巩固表达式C# 案例简单变量运算
IELTS examination process, what to pay attention to and how to review?
What did I pay for it transfer to testing post from confusion to firmness?
Application of multi loop instrument in base station "switching to direct"