GoConstHash is a Consistent Hashing Ring implementation.
https://en.wikipedia.org/wiki/Consistent_hashing
The code base was originally used as part of Google's Groupcache project. It was forked however, because the project had no intention of maintaining a full-blown consistent hashing library.