其他分享
首页 > 其他分享> > consist hashing

consist hashing

作者:互联网

1.why do we consist hashing?

 Consist hashing is a kind of hashing that when hash table is resized , only keys/slots of keys need to be remapped on average.

 

2.what is consist hashing?

 We can consider consist hashing as a hash ring, the ring has been divided 360(in the real condition it's 232).

 When we add a node , we would randomly select K point from the ring.

 

3.what is the advantage of consist hashing?

 

4.how to implement the consist hashing?

the related algrithm to understand the consist hashing: 

https://www.lintcode.com/problem/520/

标签:node,consist,when,nodes,ring,hashing
来源: https://www.cnblogs.com/cynrjy/p/15150766.html