If I understand correctly, Cassandra "builds" N ring nodes where N is the replication factor.
From cassandra docs
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.