CAP theorem says that any distributed system can provide only two of the three guarantees
- Consistency: All notes will return consistent or same data.
- Availability: Every request receives a successful response
- Partition Tolerance: There can be network failure between two nodes
![](https://upload.wikimedia.org/wikipedia/commons/c/c6/CAP_Theorem_Venn_Diagram.png)