CAP Theorem Explained for Distributed Systems (Correctly)

CAP is not a design choice you make once — it is a constraint that surfaces when the network fails. This post explains CAP correctly, debunks common myths, introduces PACELC, and gives engineers a practical framework for applying CAP thinking per operation.