Cap Theorem easy
In the CAP Theorem, what does the 'P' stand for?
- A Persistence (The guarantee that committed data is securely stored on non-volatile disk storage).
- B Performance (The requirement that the system must respond within a strictly defined latency threshold).
- C Partition Tolerance (The ability of a system to continue functioning despite arbitrary network message loss).
- D Protocol (The set of standard rules and handshakes that nodes must follow to communicate safely).
Answer: C. Partition Tolerance (The ability of a system to continue functioning despite arbitrary network message loss).
Partition Tolerance (P) is the ability of a distributed system to continue operating even if the communication between nodes is lost or delayed (a network partition). In a distributed environment, partitions are considered inevitable, which means systems must be designed to tolerate them by choosing between C and A. This is a fundamental trade-off: you generally cannot 'opt out' of P in a real-world network.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is a 'Split Brain' scenario?
- The PACELC theorem extends CAP by stating: Even when there is NO partition (E), the system must choose between:
- Why is a CA (Consistent + Available) system generally considered impossible for distributed web applications?
- In CAP, 'Consistency' is equivalent to:
- What causes a Network Partition?
- Which system would likely prioritize Consistency over Availability (CP)?