当前位置:网站首页>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
边栏推荐
- What did I pay for it transfer to testing post from confusion to firmness?
- Specification for fs4061a boost 8.4v charging IC chip and fs4061b boost 12.6V charging IC chip datasheet
- PMP certificate renewal process
- Detailed explanation of openharmony resource management
- 【雅思阅读】王希伟阅读P4(matching2段落信息配对题【困难】)
- Data on the number of functional divisions of national wetland parks in Qinghai Province, data on the distribution of wetlands and marshes across the country, and natural reserves in provinces, cities
- 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
- ORB(Oriented FAST and Rotated BRIEF)
- [monitoring] ZABBIX
- P4408 [noi2003] truant children (tree diameter)
猜你喜欢
Design of emergency lighting evacuation indication system for urban rail transit station
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
Date time type and format in MySQL
Jar batch management gadget
URL和URI
XML的解析
【路径规划】RRT增加动力模型进行轨迹规划
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"
【雅思阅读】王希伟阅读P4(matching1)
随机推荐
Microservice
公司要上监控,Zabbix 和 Prometheus 怎么选?这么选准没错!
【监控】zabbix
Basic points of the game setup of the points mall
Jar batch management gadget
《论文笔记》Multi-UAV Collaborative Monocular SLAM
P3304 [SDOI2013]直径(树的直径)
Illustrated network: what is gateway load balancing protocol GLBP?
(脚本)一键部署redis任意版本 —— 筑梦之路
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
巩固表达式C# 案例简单变量运算
如何有效对直流列头柜进行监测
图解网络:什么是网关负载均衡协议GLBP?
How to use fast parsing to make IOT cloud platform
GDB常用命令
Life is changeable, and the large intestine covers the small intestine. This time, I can really go home to see my daughter-in-law...
多回路仪表在基站“转改直”方面的应用
If you open an account of Huatai Securities by stock speculation, is it safe to open an account online?
Go pit - no required module provides Package: go. Mod file not found in current directory or any parent
Fast analysis -- easy to use intranet security software