consistent Consistent hash package for Go. Installation go get github.com/gjbae1212/consistent Examples Look at the godoc.