TIL

CAP Theorem (Brewer’s theorem)

truth-of-cap-theorem-diagram.png1

It is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees.

Consistency: Every read receives the most recent write or an error

Availability: Every request receives a (non-error) response, without the guarantee that it contains the most recent write

Partition tolerance: The system continues to operate despite an arbitrary number of messages being dropped (or delayed) by the network between nodes

CP 시스템

AP 시스템

CA 시스템

결론

References