ExercisesDistributed Systems Consensus › CAP Theorem Vocabulary

CAP Theorem Vocabulary

5 questions · Distributed Systems Consensus

1. In the CAP theorem, a system guarantees that every read receives the most recent write or an error — never stale data. Which CAP property does this describe?
2. An engineer says: 'Our system favours CP — we sacrifice availability during a network partition.' What does this mean in practice?
3. The system continues to serve all requests and return responses, even if some nodes cannot communicate with each other. Which CAP property does this prioritise?
4. PACELC extends the CAP theorem by considering a trade-off that also applies when the system is operating normally, without any partition. What trade-off does PACELC add?
5. A team describes their database: 'When a partition occurs, nodes on each side continue accepting writes independently. After the partition heals, conflicts are resolved by last-write-wins.' What CAP category does this describe?

Vocabulary Reference

TermMeaning
consistency (CAP)Every read returns the most recent write or an error — never stale data.
availability (CAP)Every request receives a response (not necessarily the latest data).
partition toleranceThe system continues operating even when messages between nodes are lost or delayed.
CP systemSacrifices availability during a network partition to preserve consistency; requests may timeout or error.
AP systemRemains available during partitions by serving potentially stale data; consistency is eventual.
PACELCExtension to CAP: during a Partition choose A or C; Else choose Latency or Consistency.

Exercise complete!

out of 5 questions