All Questions
Cap Theorem hard

In a Geo-Distributed CP system, reading from the Leader usually requires a network round-trip to verify it's still the Leader. How do 'Leases' optimize this?

  1. A They utilize a non-blocking gossip protocol that allows any available replica to serve consistent reads at any time.
  2. B The leader holds a time-bound lease; until it expires, no new leader can be elected, allowing local reads without network checks.
  3. C They utilize high-precision GPS clocks to synchronize all reads across every geographic region without using the network.
  4. D They implement a client-side aggressive caching strategy that stores all frequently accessed data on the user's local hardware.

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

Get the app

Related questions