bigcoder84 / blog_comment

博客系统评论,博客首页:https://www.bigcoder.cn
0 stars 0 forks source link

什么是一致性Hash算法 - 听到微笑的博客 #25

Open bigcoder84 opened 5 years ago

bigcoder84 commented 5 years ago

https://www.bigcoder.cn/article/62369.html#more

一致性Hash算法是为了解决分布式缓存中服务器伸缩问题,在传统的取余运算中,普通的余数Hash会存在算法伸缩性差的问题,一旦增加或删除节点,会导致大面积的缓存失效。