Is there any disadvantage of Consistent Hashing?
-
22-04-2021 - |
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!
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