CAP Theorem

what is Consistency?

Consistency refers to the property of maintaining a consistent state across all nodes or replicas in a distributed system. When a user performs an update operation on one node, the changes are propagated to all replication nodes to ensure that the data remains consistent across all the nodes.

what is availability?

Availability means when a server or node get down, but user can get the response without any issues.

what is Partition tolerance?

Partition tolerance refers to the system's ability to continue operating and providing services even when there are communication failures, message losses, or partial network failures within the system.it maintains the consistency and fails to maintain the Availability of a system.

Cap is used in a distributed system can deliver only two of the three desired characteristics.