一致性哈希有什么缺点吗?
不可否认,一致性哈希是分布式缓存应用中广泛使用的技术。当节点数量动态变化时,它提供了一个很好的解决方案。而当虚拟节点合并后,负载均衡问题也将得到解决。
我只是想知道这种技术有什么缺点或限制吗?
谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,主要缺点是单个节点在压力下失败而导致的滚雪球(或级联)效应,通过从死亡节点传输密钥使其邻居节点超载,并且由于负载增加和负载转移而最终可能失败到它的邻居节点等等。最终导致所有节点失效。
Yes, the main drawback is the snowball (or cascading) effect caused by a single node failing under stress which overloads its neighbor node with the transfer of keys from the died node and it may eventually fail due to the increased load and then the load transferred to its neighbor node and so on. Ultimately causing all the nodes to fail.