All Questions
Scaling Writes hard

The Two-Phase Commit (2PC) protocol is often criticized for being 'Blocking'. What is the specific failure mode?

  1. A It blocks reads.
  2. B It requires too much bandwidth.
  3. C If the Coordinator crashes after sending 'Prepare' but before 'Commit', participants who voted 'Yes' are stuck holding locks indefinitely, unable to commit or abort.
  4. D It fails on slow networks.

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

Get the app

Related questions