8000 GitHub - rural-panda/bestring: A simple and fast consistent hash-ring for go
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rural-panda/bestring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BestRing


Target

provide a consistent hash-ring with high performance and high stability :)

Example

// initialization
b := bestring.NewBestRing(vNodeNumber)

// add a real server 
b.AddNode(serverAddress)

// find a suitable server
serverHits := b.GetNode(clientRequestKey)

Todo

  1. provide complete features
  2. improve performance
  3. provide stability report

Releases

No releases published

Packages

No packages published

Languages

0