Skip to content

excelsior43/Consistent-Hashing-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consistent Hashing algorithm

I have used Consistent hashing algorithm[1]. The lost keys are 1/n of the total number of keys. This means the successful key fetch will be 6/7 *100 around 85%.
Please download this repository and run the following command. I found this blog (http://michaelnielsen.org/blog/consistent-hashing/) very informative for implementing consistent hash, I tailored the available code to solve the assignment.

$ [sudo] python mamcache_client.py

Reference for consistent-hashing code :
[1] Michael Nielsen's blog, http://michaelnielsen.org/blog/consistent-hashing/

About

Consistent Hashing Algorithm in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages