CAP Theorem Explained (with Diagrams)

A clear, beginner-friendly breakdown of consistency, availability, and partition tolerance — and why you can’t have all three at once.