From: Jérôme Benoit Date: Wed, 31 May 2023 18:36:47 +0000 (+0200) Subject: docs: add changelog entry for IWRR worker choice strategy X-Git-Tag: v2.5.0~3^2~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=71002f09cd4b8ac7b8c6d5704222eb045acd1d7a;p=poolifier.git docs: add changelog entry for IWRR worker choice strategy Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 27033633..0524a58c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Switch pool event emitter to `EventEmitterAsyncResource`. - Add tasks wait time accounting in per worker tasks usage. +- Add interleaved weighted round robin worker choice strategy (experimental). ### Changed diff --git a/README.md b/README.md index 52650f3e..532d9e8f 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,7 @@ Node versions >= 16.14.x are supported. - `WorkerChoiceStrategies.LEAST_USED`: Submit tasks to the least used worker - `WorkerChoiceStrategies.LEAST_BUSY`: Submit tasks to the least busy worker - `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN`: Submit tasks to worker using a weighted round robin scheduling algorithm based on tasks execution time + - `WorkerChoiceStrategies.INTERLEAVED_WEIGHTED_ROUND_ROBIN`: Submit tasks to worker using an interleaved weighted round robin scheduling algorithm based on tasks execution time (experimental) - `WorkerChoiceStrategies.FAIR_SHARE`: Submit tasks to worker using a fair share tasks scheduling algorithm based on tasks execution time `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN` and `WorkerChoiceStrategies.FAIR_SHARE` strategies are targeted to heavy and long tasks.