provide a consistent hash-ring with high performance and high stability :)
// initialization
b := bestring.NewBestRing(vNodeNumber)
// add a real server
b.AddNode(serverAddress)
// find a suitable server
serverHits := b.GetNode(clientRequestKey)
- provide complete features
- improve performance
- provide stability report