All Questions
Zookeeper hard

By default, `forceSync` is enabled. If you disable it, what trade-off are you making?

  1. A You gain massive write throughput, but you risk Data Corruption/Loss on power failure because writes are acknowledged before they are physically flushed (fsync) to disk.
  2. B You lose read throughput.
  3. C You gain consistency.
  4. D You disable the Leader.

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

Get the app

Related questions