Pergunta

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!

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top