Fundamentals · Hard · Free
Explain CAP theorem at fresher level — pick two.
FresherFundamentalsDatabase Fundamentals
CAP (practical view)
During a network partition, choose between Consistency (all nodes see same data) and Availability (every request gets a response). Partition tolerance is required in distributed systems.
- CP: strong consistency, may reject writes
- AP: available, eventual consistency
Say CAP is about partition—not everyday single-node SQL.