docs: add changelog entry for IWRR worker choice strategy
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 31 May 2023 18:36:47 +0000 (20:36 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 31 May 2023 18:36:47 +0000 (20:36 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
README.md

index 27033633acacc75d95b79e9ea7414e243ca60954..0524a58c282322d505ada5b3b6e2a34ded4a39af 100644 (file)
@@ -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
 
index 52650f3e72b10aa40fc4bd427206e634ca836ad1..532d9e8fda44f1b66b6ed0ea8c4992e2245c4a62 100644 (file)
--- 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.