What is CAP?

in cap •  4 years ago 

Content

There are many background introductions about the CAP theory, but here is not much introduction, let's talk about how to understand it.

Explain the three nouns in easy-to-understand terms:

consistency

If you have just written to one node, then later, the data read from another node must be the data just written, not older data.

Availability

If a node is requested, the node must be able to respond. If the node goes down, there is no question of availability.

Partition tolerance

Whether to tolerate network partitions, that is, nodes can be allowed to communicate with other nodes.

CAP means that we can only guarantee that at most two of the conditions are true at the same time.

image.png

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!