当前位置:网站首页>Cap theory
Cap theory
2022-07-06 09:34:00 【Prism 7】
Zookeeper be based on CP

1.Consistency( Uniformity ): For each read operation of the client , Or read the latest data , Either the read failed .
2.Availability( Usability ): Any client request can get response data , There are no response errors .
3.Partition tolerance( Zone tolerance ): Most distributed systems are distributed over multiple subnetworks . Each subnetwork is called a zone (partition). Partition fault tolerance means , Interval communication may fail . such as , A server is in China , Another server is in the United States , These are the two areas , They may not be able to communicate with each other .
CAP In theory, a distributed system can't satisfy C、A、P These three characteristics
For a distributed system ,P It's the premise , Must ensure , Because as long as there is network interaction, there will be delay and data loss .
When chosen C( Uniformity ) when , If the specific information cannot be guaranteed to be up-to-date due to network partition , The system will return an error or timeout .
When chosen A( Usability ) when , The system will always process the client's queries and try to return the latest available version of information , Even if it cannot be guaranteed to be up-to-date due to network partition .
边栏推荐
- QDialog
- Activiti7工作流的使用
- MapReduce instance (V): secondary sorting
- Go redis initialization connection
- O & M, let go of monitoring - let go of yourself
- IDS' deletion policy
- How to intercept the string correctly (for example, intercepting the stock in operation by applying the error information)
- Redis之核心配置
- Global and Chinese markets of SERS substrates 2022-2028: Research Report on technology, participants, trends, market size and share
- CAP理论
猜你喜欢

【深度学习】语义分割:论文阅读(NeurIPS 2021)MaskFormer: per-pixel classification is not all you need

Redis cluster

Servlet learning diary 7 -- servlet forwarding and redirection
![[deep learning] semantic segmentation: paper reading: (2021-12) mask2former](/img/dd/fe2bfa3563cf478afe431ac87a8cb7.png)
[deep learning] semantic segmentation: paper reading: (2021-12) mask2former

An article takes you to understand the working principle of selenium in detail

Blue Bridge Cup_ Single chip microcomputer_ PWM output

Redis geospatial
![[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction](/img/f1/6f22f00843072fa4ad83dc0ef2fad8.png)
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
![[shell script] - archive file script](/img/50/1bef6576902890dfd5771500414876.png)
[shell script] - archive file script

The carousel component of ant design calls prev and next methods in TS (typescript) environment
随机推荐
一文读懂,DDD落地数据库设计实战
The five basic data structures of redis are in-depth and application scenarios
The order of include header files and the difference between double quotation marks "and angle brackets < >
Opencv+dlib realizes "matching" glasses for Mona Lisa
Redis之核心配置
Kratos ares microservice framework (II)
CAP理论
为拿 Offer,“闭关修炼,相信努力必成大器
【每日一题】搬运工 (DFS / DP)
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
Redis' performance indicators and monitoring methods
Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
MapReduce instance (IV): natural sorting
基于B/S的影视创作论坛的设计与实现(附:源码 论文 sql文件 项目部署教程)
Reids之删除策略
Redis分布式锁实现Redisson 15问
Meituan Er Mian: why does redis have sentinels?
英雄联盟轮播图自动轮播
Redis core configuration
Redis之哨兵模式