当前位置:网站首页>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 market of capacitive displacement sensors 2022-2028: Research Report on technology, participants, trends, market size and share
- Go redis initialization connection
- [deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
- Kratos ares microservice framework (II)
- Redis之Bitmap
- What is MySQL? What is the learning path of MySQL
- Solve the problem of inconsistency between database field name and entity class attribute name (resultmap result set mapping)
- Advanced Computer Network Review(5)——COPE
- MapReduce instance (V): secondary sorting
- Processes of libuv
猜你喜欢
随机推荐
In depth analysis and encapsulation call of requests
Global and Chinese market for annunciator panels 2022-2028: Research Report on technology, participants, trends, market size and share
Mapreduce实例(六):倒排索引
Master slave replication of redis
基于WEB的网上购物系统的设计与实现(附:源码 论文 sql文件)
面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了
[Yu Yue education] Wuhan University of science and technology securities investment reference
Kratos ares microservice framework (II)
Global and Chinese market of airport kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
【每日一题】搬运工 (DFS / DP)
Pytest parameterization some tips you don't know / pytest you don't know
Redis之核心配置
Advance Computer Network Review(1)——FatTree
Redis之性能指标、监控方式
【深度学习】语义分割-源代码汇总
Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
Once you change the test steps, write all the code. Why not try yaml to realize data-driven?
Global and Chinese markets of SERS substrates 2022-2028: Research Report on technology, participants, trends, market size and share
MapReduce instance (V): secondary sorting
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction