cnblogs / EnyimMemcachedCore

.NET Memcached client. Available on https://www.nuget.org/packages/EnyimMemcachedCore
Apache License 2.0
162 stars 45 forks source link

Make DefaultNodeLocator take the ServerAddressMutations as a parameter #99

Closed kt81 closed 5 years ago

kt81 commented 5 years ago

This PR adds a functionality to change the ServerAddressMutations value in the DefaultNodeLocator that control the count of virtual nodes.

In my case, my nodes are too few (only 2) and the count of virtual nodes is not enough to balancing. I would like to set multiplier to 10000 so that prevent unbalancing.

cnblogs-dudu commented 5 years ago

Released 2.1.13 for this PR.