All Questions
Cap Theorem medium

In a CP system (like etcd/Zookeeper), what happens to Availability during a leader election?

  1. A The entire system becomes either strictly Read-Only or completely Unavailable for all write operations.
  2. B Availability remains at 100% as the secondary nodes immediately take over all client write traffic.
  3. C Incoming writes are buffered in high-speed local memory until the consensus group elects a new leader.
  4. D The system automatically partitions into two independent clusters that each continue to accept writes.

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

Get the app

Related questions