首页 > 其他 > 详细

CAP理论与HBase

时间:2015-06-23 20:06:46      阅读:248      评论:0      收藏:0      [点我收藏+]

The short summary of the article is that CAP isn’t “C, A, or P, choose
two,” but rather “When P happens, choose A or C.”

Partitions, like death and taxes, are unavoidable – think of machine
death as just a partition of that machine out into the networking
equivalent of the afterlife. So it’s up to the system designer to
decide if, when that happens, we give up availability or give up
consistency.

In HBase’s case we choose consistency, so we have to give up some availability. 这个理解CAP,太到位了

本文的简短总结是,CAP是不是“C,A,或P,选择
二,“而是”在P情况,选择A或C.“

当有P的时候,分区产生问题,要么选择不服务(保持一致性),要么忍受不一致,服务可用.
分区存在情况下,要么选择A,要么选择C

CAP理论与HBase

原文:http://blog.csdn.net/jameshadoop/article/details/46608711

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!