derekkraan / horde

Horde is a distributed Supervisor and Registry backed by DeltaCrdt
MIT License
1.3k stars 102 forks source link

Added new UniformRandomDistribution strategy #252

Closed l3nz closed 2 years ago

l3nz commented 2 years ago

I added a very simple Random distribution strategy, and its test.

Most of the changes were in the ExDoc part, so that available strategies are linked from within Horde.DistributionStrategy, in the perspective of adding more in the future.

Fixes https://github.com/derekkraan/horde/issues/251 though it does not change the interface of DistributionStrategy so it's a bit more limited - but this requires a separate topic.

derekkraan commented 2 years ago

Thanks for the PR!