cap theorem
CAP theorem states that it is impossible for a distributed system to provide more than two of these guarantees: consistency, availability, and partition tolerance.
- Consistency
- All clients see the same data at the same time from any node

- All clients see the same data at the same time from any node
-
Availability
- The ability for a system to respond to requests from users at all times

-
Partition Tolerance
- The ability for a system to continue operating even if there is a partition in the network
