Question

Admittedly, consistent hashing is a widely used technology in distributed caching applications. It offers a good solution when the number of nodes changes dynamically. And when the virtual node is combined, the load balancing problem will also be solve.

I am just wondering is there any disadvantages or limitations of this technique?

Thanks!

Was it helpful?

Solution

Consistent hashing isn't perfect, but it's a lot better than the old modulo hashing. I wrote about this a while back and included details on an alternative that we use that does lead to perfect mapping while allowing nodes to be added or removed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top