educative.io

Educative

Confusion in understanding Data Replication and Data Partition for Consistent Hashing

The Data Partition section says that multiple servers are assigned to a vnode range.
In this case, data will be replicated across these servers. In the next part of Data Replication, it is shown that data is again replicated to N -1 clockwise nodes in ring.

Hi @swapnil_shindemeshra,
You are mixing two different concepts here. We are using vnodes to avoid the problem of random position assignment of each node and heterogeneity of the nodes so that while adding or removing nodes we can result in uniform data and load distribution results. While replication is just replicating the servers.