Skip to content

hanj4096/hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash

Caculate data migration ratio for hash and consistent hash.

Installation

go get stathat.com/c/consistent

go get github.com/hanj4096/hash

Usage

go run ./hash.go -keys 10000000 -nodes 10 -new-nodes 11

go run ./consistent-hash.go -keys 10000000 -nodes 10 -new-nodes 11

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages