All Questions
Cap Theorem easy

To achieve Strong Consistency in a cluster of N nodes, a Quorum-based system typically requires writes to be acknowledged by:

  1. A A single local node (e.g., W=1) to ensure the absolute minimum possible write latency for the end-user.
  2. B Every single node in the entire cluster (N) to ensure that the data is perfectly synchronized across the globe.
  3. C A simple majority of the nodes (e.g., N/2 + 1) to ensure that no two conflicting groups can form a consensus.
  4. D A random subset of the nodes that is dynamically calculated based on the current estimated network health.

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

Get the app

Related questions