consistent icon indicating copy to clipboard operation
consistent copied to clipboard

A Go library that implements Consistent Hashing and Consistent Hashing With Bounded Loads.

Results 4 consistent issues
Sort by recently updated
recently updated
newest added

I found that default settings of this library performs poor keys distribution over hosts. To improve distribution hosts replication must be at least 1000. Better to make replication factor configurable....

``` fmt.Sprintf("%s%d", host, i) ``` What if host names will be: host1, host2, ... host21, host22. Current mechanism of replications naming will produce a lot of collisions. Some sort of...

Failing which Balance() will not work as expected

Use binary tree instead of slice and sets the replication factor to a configurable value with a default to 1000