0

If I understand correctly, Cassandra "builds" N ring nodes where N is the replication factor.

From cassandra docs

cassandra rings

How cassandra achieves this while guaranteeing that a key always corresponds to different nodes in each ring? I'm asking this because I want to implement something similar for the ConsistentHashPartitioningService in finagle.

If someone can point to me to the code where this happens so I can start trying to figure it out that would be incredible helpful.

gabrielgiussi
  • 9,245
  • 7
  • 41
  • 71
  • 1
    After reading this question https://stackoverflow.com/questions/31669991/how-does-cassandra-find-the-node-that-contains-the-data and taking another look the image I guess it just picks the next X nodes, where X is the replication factor. – gabrielgiussi Aug 30 '23 at 11:42

0 Answers0