当前位置:网站首页>NoSQL -- three theoretical cornerstones of NoSQL -- cap -- Base -- final consistency
NoSQL -- three theoretical cornerstones of NoSQL -- cap -- Base -- final consistency
2022-07-27 13:51:00 【Alascanfu】
NoSQL Three theoretical cornerstones
NoSQL Three theoretical cornerstones :CAP、BASE、 Final consistency
CAP
CAP Respectively ?
- C(Consistency) : Strong consistency . That is, multiple nodes have the same data at the same time .
- A(Availability) : Usability . Right or wrong , Anyway, the request must be responded .
- P(Tolerance of Network Partition) : Zone tolerance . Separate nodes can also run independently , That is, it is not limited to one machine .
Fish and bear paw , You can't have both.

The design concept of different products

BASE
mention NoSQL Of BASE characteristic , I have to say Transactions in traditional relational databases ACID Sexuality
ACID
| ACID | meaning | Popular explanation |
|---|---|---|
| A | Atomicity Atomicity | All or nothing , All or nothing |
| C | Consistency Uniformity | When the transaction completes , All relevant data are consistent |
| I | Isolation Isolation, | Concurrent transactions are isolated from each other |
| D | Durability persistence | After the transaction completes , This effect is permanent |
BASE
| BASE | meaning | Popular explanation |
|---|---|---|
| B A | Basically Availble Basic available | Partition problem , The whole system is still available |
| S | Soft state Soft state | The data relative to the hard state is immediately consistent , Soft state tolerates data lag |
| E | Eventual consistency Final consistency | Here's an explanation |
Final consistency
Strong consistency
- Strong consistency : After an update , It can ensure that the subsequent access to the latest data
Weak consistency
- Weak consistency : After an update , There is no guarantee that all the subsequent accesses are the latest data
Final consistency is a special case of weak consistency —— here “ There is no guarantee ”, But after a while , be “ Can guarantee ”; from “ final result ” see , Consistency is guaranteed .
边栏推荐
- Common distributed theories (cap, base) and consistency protocols (gosssip, raft)
- 13、用户web层服务(一)
- JS basic knowledge collation - array
- Construction and application of industrial knowledge atlas (3): commodity knowledge fusion
- Add index to the field of existing data (Damon database version)
- 剑指Offer 07 重建二叉树 -- 从中序与后序遍历序列构造二叉树
- 2、Citrix Virtual Apps and Desktops 2203剪贴板重定向策略
- 网络异常流量分析系统设计
- Tencent cloud and the China Federation of industry released the research results of industrial AI quality inspection standardization to accelerate the intelligent transformation of manufacturing indus
- Browser kernel module composition
猜你喜欢

小程序毕设作品之微信校园洗衣小程序毕业设计成品(3)后台功能

双料第一!

3D laser slam:aloam---ceres optimization part and code analysis

eBPF/Ftrace
![[C Advanced] pointer array vs array pointer](/img/1e/33f9cc9446dcad8cdb78babbb5a22c.jpg)
[C Advanced] pointer array vs array pointer

NoSQL —— NoSQL 三大理论基石 —— CAP —— BASE—— 最终一致性

特征工程中的缩放和编码的方法总结

Additional: [urlencoder.encode (string to be encoded, "encoding method");] (what is it?; why do we use this to encode when we set values in cookies?) (to be improved...)

Seata's landing practice in ant International Banking

JS basic knowledge collation - array
随机推荐
16 VMware horizon 2203 virtual desktop-win10 automatic desktop pool full clone dedicated (XVI)
【LeetCode】592. 分数加减运算
Experience sharing of system architecture designers preparing for the exam: a tough battle for nearly three months
图像特征及提取
Leetcode error reporting and its solution
7.26模拟赛总结
Software system architecture designer concise tutorial | software system modeling
SQL tutorial: introduction to SQL aggregate functions
电气成套企业如何借助ERP系统,做好成本利润管理?
Software testing system architecture designer concise tutorial | software testing
Keras deep learning practice - recommend system data coding
Vertical and horizontal shooting range - the mystery of the picture
Using ebpf to detect rootkit vulnerabilities
Cute image classification -- a general explanation of the article "what are the common flops in CNN model?"
Jianzhi offer 07 rebuild binary tree -- construct binary tree from middle order and post order traversal sequence
软考 系统架构设计师 简明教程 | 系统设计
js回调函数(callback)
软考 系统架构设计师 简明教程 | 软件系统建模
[daily question] 1206. Design jump table
Intranet penetration based on FRP -- SSH Remote connection to intranet server with the help of public server