From: Jérôme Benoit Date: Sat, 10 Jun 2023 12:35:59 +0000 (+0200) Subject: docs: add weighted round robin documentation X-Git-Tag: v2.6.1~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=97d751d65c0068512628a048a53984baf3b9c9bd;hp=f1c0693012b2ec60fe1a0cbf457015b3f874e96f;p=poolifier.git docs: add weighted round robin documentation Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/README.md b/src/pools/selection-strategies/README.md index 0e49d6df..6796a12f 100644 --- a/src/pools/selection-strategies/README.md +++ b/src/pools/selection-strategies/README.md @@ -9,7 +9,7 @@ By default, the strategy uses the average task execution time for each worker bu ### Weighted round robin -The strategy assigns the next task using a robin round algorithm. The worker weights are maximum tasks execution time, once the worker has reached its maximum tasks execution time, the next task is assigned to the next worker. +The worker weights are maximum tasks execution time, once the worker has reached its maximum tasks execution time, the next task is assigned to the next worker. The default worker weights are the same for all workers and is computed given the CPU cores speed and theirs numbers. ### Interleaved weighted round robin