# hash **Repository Path**: jenhao/hash ## Basic Information - **Project Name**: hash - **Description**: 哈希算法 一致哈希算法 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-15 - **Last Updated**: 2024-06-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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