Hi, i'm the author of this package.<p>I wrote it because i couldn't implement Consistent Hashing With Bounded Loads over any pre-existing golang consistent hashing packages in a clean way.<p>Here's the ugly code that made me into doing it: <a href="https://github.com/lafikl/liblb/blob/c9c4544834ac7ae7fa6a9cd06907994b83b1b418/bounded/bounded.go#L171" rel="nofollow">https://github.com/lafikl/liblb/blob/c9c4544834ac7ae7fa6a9cd...</a>
Initially confused by the title...I thought "loads" was maybe the payload data being hashed.<p>I see now though...it's an approach to use a hash to decide which destination host to select...from a group of hosts used for load balancing.