README ¶ 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 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files consistent-hash-vnode.go consistent-hash.go hash.go Click to show internal directories. Click to hide internal directories.