CAP theorem was developed by Eric Brewer in the year 2000.CAP stands for Consistency, Availability and Partition-Tolerance.
Consistency: If we wrote a data in one node and read it from another node in a distributed system, it will return what we wrote on the other node.
Availability: Each node of the distributed system should respond to the query unless it dies.
Partition-Tolerance: This shows the availability and seamless operation of the distributed system even the partition (add/remove node from different data center) or message loss over the network.
Asked In: Many Interviews |