CAP Theorem

Notes The CAP theorem states that you can only have 2 of 3 properties at once: Consistency: All nodes see the same data. Availability: Every request gets a response. Partition Tolerance: System works even when network connections fail between nodes. In practice, network partitions are unavoidable in distributed system. Choosing consistency means some nodes will refuse to serve requests rather than…