From: Jérôme Benoit Date: Mon, 12 Jun 2023 14:58:29 +0000 (+0200) Subject: docs: refine worker choice strategies README X-Git-Tag: v2.6.3~31 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c63b7b384f8c8f1937fce69a03f52f0177dfcef1;p=poolifier.git docs: refine worker choice strategies README Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/README.md b/src/pools/selection-strategies/README.md index 7377bc39..d7619e0b 100644 --- a/src/pools/selection-strategies/README.md +++ b/src/pools/selection-strategies/README.md @@ -1,5 +1,7 @@ # Worker choice strategies +All duration or timestamp are expressed in milliseconds. + ## Strategies ### Fair share @@ -23,4 +25,4 @@ Worker choice strategies enable only the statistics that are needed to choose th ### Median -Strategies using the average task execution time for each worker can use the median instead. Median is more robust to outliers and can be used to avoid assigning tasks to workers that are currently overloaded. Median usage introduces a small overhead: measurement history must be kept for each worker and the median must be recomputed each time a new task has finished. +Strategies using the average task execution time for each worker can use the median instead. Median is more robust to outliers and can be used to avoid assigning tasks to workers that are currently overloaded. Median usage introduces a small overhead: measurement history must be kept for each worker and the median must be recomputed each time a task has finished.