CAP Theorem

CAP (Consistency, Availability, Partition Tolerance)

In a distributed data store, we can only guarantee two out of three of these properties

Consistency

Every read gets the most recent write or returns an error.

Availability

Every request gets a response and be available, even if it’s not the latest data.

Partiation Tolerance

System stays operational even when there are network faults.