CAP theorem - Availability and Partition Tolerance

后端 未结 9 1730
囚心锁ツ
囚心锁ツ 2020-12-04 04:09

While I try to understand the \"Availability\" (A) and \"Partition tolerance\" (P) in CAP, I found it difficult to understand the explanations from various articles.

<
9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 05:00

    Consistency – When we are sending the read request, if it is returning result, it should return the most recent write given by client request. Availability – Your request for read/write should always succeed. Partition tolerance – When there is network partition (problem for some machines to talk with each other) occurs, system should still work.

    In a distributed there are chances that network partition will occur and we cannot avoid “P” of CAP. So we choose between “Consistency” and “Availability”.

    http://bigdatadose.com/understanding-cap-theorem/

提交回复
热议问题