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