当前位置:网站首页>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 .
边栏推荐
- Connexion d'initialisation pour go redis
- AcWing 2456. 记事本
- Leetcode:608 树节点
- Redis connection redis service command
- Global and Chinese markets for modular storage area network (SAN) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
- IDS cache preheating, avalanche, penetration
- Redis之哨兵模式
- Basic concepts of libuv
- 【深度學習】語義分割-源代碼匯總
- Redis分布式锁实现Redisson 15问
猜你喜欢
The carousel component of ant design calls prev and next methods in TS (typescript) environment
Redis之哨兵模式
基于B/S的网上零食销售系统的设计与实现(附:源码 论文 Sql文件)
软件负载均衡和硬件负载均衡的选择
[deep learning] semantic segmentation - source code summary
Redis之Lua脚本
Heap (priority queue) topic
Oom happened. Do you know the reason and how to solve it?
Mapreduce实例(七):单表join
Advanced Computer Network Review(3)——BBR
随机推荐
Global and Chinese market of cup masks 2022-2028: Research Report on technology, participants, trends, market size and share
QML control type: menu
DCDC power ripple test
Redis之性能指标、监控方式
【图的三大存储方式】只会用邻接矩阵就out了
【深度学习】语义分割:论文阅读:(CVPR 2022) MPViT(CNN+Transformer):用于密集预测的多路径视觉Transformer
Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
Redis之哨兵模式
Advance Computer Network Review(1)——FatTree
MapReduce instance (IV): natural sorting
Servlet learning diary 8 - servlet life cycle and thread safety
面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了
Minio distributed file storage cluster for full stack development
Five layer network architecture
[Yu Yue education] reference materials of complex variable function and integral transformation of Shenyang University of Technology
【每日一题】搬运工 (DFS / DP)
Kratos ares microservice framework (II)
Persistence practice of redis (Linux version)
Redis geospatial
Redis connection redis service command