All Questions
Cassandra medium

Why is 'Merkle Trees' used during the Cassandra `nodetool repair` process instead of just sending all the data over the network?

  1. A Merkle Trees are a type of compression that makes the data 100x smaller.
  2. B Efficiency: Merkle trees are 'Hash Trees' that allow two nodes to quickly find exactly *which* tiny segments of their data differ, streaming ONLY the missing data rather than the whole dataset.
  3. C Merkle Trees are required by law for GDPR compliance.
  4. D Merkle Trees are used to encrypt the data during transit over the Public Internet.

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

Get the app

Related questions