All Questions
Cap Theorem medium

Why is Two-Phase Commit (2PC) considered a 'CP' (Consistent) protocol?

  1. A It utilizes a non-blocking gossip protocol to ensure 100% service availability even during a total region outage.
  2. B The protocol requires every single node in the cluster to unanimously agree before a transaction can be committed.
  3. C Participants can continue to process new transactions independently even if the central coordinator becomes unreachable.
  4. D The protocol can block indefinitely if any single node or the coordinator fails, prioritizing Atomicity over system Availability.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions