当前位置:网站首页>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 .
边栏推荐
- Global and Chinese markets for modular storage area network (SAN) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
- Parameterization of postman
- 解决小文件处过多
- [deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
- Chapter 1 :Application of Artificial intelligence in Drug Design:Opportunity and Challenges
- Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
- Redis之主从复制
- Global and Chinese market of appointment reminder software 2022-2028: Research Report on technology, participants, trends, market size and share
- Go redis initialization connection
- Pytest parameterization some tips you don't know / pytest you don't know
猜你喜欢
Use of activiti7 workflow
DCDC power ripple test
Pytest parameterization some tips you don't know / pytest you don't know
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
Improved deep embedded clustering with local structure preservation (Idec)
Activiti7工作流的使用
Mathematical modeling 2004b question (transmission problem)
Advance Computer Network Review(1)——FatTree
The five basic data structures of redis are in-depth and application scenarios
随机推荐
Minio distributed file storage cluster for full stack development
YARN组织架构
Parameterization of postman
[daily question] Porter (DFS / DP)
七层网络体系结构
In order to get an offer, "I believe that hard work will make great achievements
Redis之Geospatial
Connexion d'initialisation pour go redis
[shell script] - archive file script
Redis之五大基础数据结构深入、应用场景
Processes of libuv
Redis之发布订阅
Publish and subscribe to redis
Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
Mapreduce实例(七):单表join
软件负载均衡和硬件负载均衡的选择
Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
Advanced Computer Network Review(3)——BBR
CSP salary calculation
[Yu Yue education] Wuhan University of science and technology securities investment reference