CAP理論與HBase

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.」markdown

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.app

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

本文的簡短總結是,CAP是否是「C,A,或P,選擇
二,「而是」在P狀況,選擇A或C.「ui

當有P的時候,分區產生問題,要麼選擇不服務(保持一致性),要麼忍受不一致,服務可用.
分區存在狀況下,要麼選擇A,要麼選擇Cci

版權聲明:本文爲博主原創文章,未經博主容許不得轉載。it

相關文章
相關標籤/搜索