CAP Theorem

CAP = Consistency, Availability Partition-Tolerance
CAP theorem says: Only 2 out 3 can be guaranteed.
  1. CA: data is consistent between all nodes - as long as all nodes are online
  2. CP: When nodes are partitioned, then consistency can be achieved.
  3. AP: nodes remain online even if they can’t communicate with each other