Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellite/nodeselection: new node selection for balancing between sma…
…ll groups We have a node selection strategy to choose randomly from different groups (like last_net). But we have a specific case for Storj Select program (and private installs), where we have smaller groups (like different providers), but the number of groups might be limited (let's say a few dozens). The proposed algorithm is the following. * let's iterate over the groups in random order * from each group, select one node randomly * nodes which are already selected will be ignored * at the end of the iteration we will start to check each group again (if not enough groups) Change-Id: I207ccb6e70122fd4e7b9d9acc0667a809492372e
- Loading branch information
Showing
3 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters