当前位置:网站首页>Distributed cap principle
Distributed cap principle
2022-07-24 00:19:00 【A little dog】
Distributed CAP principle
CAP Definition

Consistency Uniformity : All nodes have the same data at the same time . Consistency can be divided into the following three types :
Strong consistency : After update operation , Subsequent operations must get the updated results
Weak consistency : After update operation , Subsequent operations can tolerate some or all of the updates
Final consistency : After update operation , After a period of time, it is required to be able to get the updated results
Availability Usability : The service is consistently available within normal response time
Partition Tolerance Partition tolerance : When a distributed system encounters a node or network partition failure , Still be able to provide external services to meet the consistency or availability
Application scenarios
CA without P Abandon system scalability , No child nodes , For example, a single node relational database
CP without A Maintain strong consistency in distributed servers , But it may lead to long synchronization time , For example, distributed database redis
AP without C Give up consistency , Keep high availability . Each node uses local data to provide services . Make the global data inconsistent . Such as using mobile online shopping , May be available when browsing products , But when you place an order, the system tells you that the order failed .
Please correct me if there is any mistake
边栏推荐
- Take stock of 10 new layer1 to prepare for the next bull market
- 合宙ESP32C3基于Arduino IDE框架下配置分区表
- php实现 Stripe订阅
- 【HCIP】MGRE环境下OSPF实验,含多进程双向重发布及OSPF特殊区域
- GBase 8c 会话信息函数(三)
- Docker builds sonarqube, mysql5.7 environment
- Xmind用例导入到TAPD的方案(附代码)
- sed 深入理解与使用
- [wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
- The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
猜你喜欢

Super simple training of force deduction and problem brushing

After openfeign sets circuitbreaker=true, feign's readtimeout expires

NGFW portal authentication experiment

Tencent will close the "magic core". Is there any resistance to the development of digital collections?

Structured streaming programming model (input table, result table, output mode...)

Multi knapsack explanation of dynamic programming knapsack problem

English语法_指示代词 -such / the same

YOLOv1

Delete all data of specified query criteria in Oracle

Inftnews | protect the "Snow Mountain Spirit", and the 42verse "digital ecological protection" public welfare project is about to start
随机推荐
ESP8266————AT指令+网络透传
Tencent will close the "magic core". Is there any resistance to the development of digital collections?
2022年7月23日——mapper文件说明
Input and output of ACM mode
GBase 8c系统表信息函数(二)
Gbase 8C mode visibility query function (I)
数仓数据标准详解-2022
As a programmer, is there anything you want to say to the newcomer?
Pipeline pipeline project is built by declarative and jenkinsfile under Jenkins
[translation] Introduction to go RPC: Hello World
The implementation in Oracle replaces the specified content of the specified column with the desired content
投资的物质回报
Gbase 8C bit string operator (I)
Gbase 8C access authority query function (6)
Mysql database foundation
[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
day2
jenkins下使用声明式(Declarative)和Jenkinsfile的方式构建Pipeline流水线项目
Redis持久化机制RDB、AOF
Adaptation scheme of large screen visualization