CAP theorem is a fundamental principle in distributed database systems that states only two out of the three:
consistency, availability, and partition tolerance, can be achieved at any given time.
Acronym for Atomicity, Cconsistency, Iinsulation and Durability is a set of properties of a database transaction that aim to ensure data integrity and validity, even after systemic failures or electrical power failures.