Examples of CAP Theorem:
CAP Theorem:
For a distributed System, CAP Theorem states that it is possible to attain only two properties and the third would be always compromised.
Examples of CAP Theorem:
Note: Partition Tolerance is important part .So we have option to choose either Availability or Consistency inorder to achieve CAP Theorem statement.
Which is more important? Availability or Consistency
a) Blog Website : Availability
Reason: It is necessary for it to be available.
b) Multiplayer online game : Availability
Reason: It is necessary for it to be available for user experience.
c) Bank : Consistency
Reason: Amount /Data inserted should be consistent.
d) Ticket Booking System : Consistency
Reason: Ticket booked for a seat should be updated for same place should be consistent.
Comments
Post a Comment