availability

CAP theorem - Availability and Partition Tolerance

不问归期 提交于 2019-11-26 18:43: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. I get a feeling that A and P can go together (I know this is not the case, and that's why I fail to understand!). Explaining in simple terms, what are A and P and the difference between them? 回答1: Consistency means that data is the same across the cluster, so you can read or write from/to any node and get the same data. Availability