X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=CHANGELOG.md;h=66762b0d7f295c7bc59da094d142771a027f984f;hb=4a59691c9f48b3a6602510aeece809e2a0fe14c1;hp=f5c05bb17dc5dde98e6fb5def5c13e341be2b983;hpb=570efb111afeb2a26b632d9915f751d5eca38cc0;p=poolifier.git diff --git a/CHANGELOG.md b/CHANGELOG.md index f5c05bb1..66762b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,66 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Refactor pool worker node usage internals. +- Refactor worker choice strategy statistics requirements. + +### Fixed + +- Fix wait time accounting. +- Ensure worker choice strategy `LEAST_BUSY` accounts also tasks wait time. +- Ensure worker choice strategy `LEAST_USED` accounts also queued tasks. + +## [2.5.4] - 2023-06-07 + +### Added + +- Add Event Loop Utilization (ELU) statistics to worker tasks usage. + +### Changed + +- Compute statistics at the worker level only if needed. +- Add `worker-threads` options to thread pool options. + +### Fixed + +- Make the `LEAST_BUSY` strategy only relies on task runtime. + +## [2.5.3] - 2023-06-04 + +### Changed + +- Refine pool information content. +- Limit pool internals public exposure. + +## [2.5.2] - 2023-06-02 + +### Added + +- Add `taskError` pool event for task execution error. +- Add pool information `info` property to pool. +- Emit pool information on `busy` and `full` pool events. + +## [2.5.1] - 2023-06-01 + +### Added + +- Add pool option `restartWorkerOnError` to restart worker on uncaught error. Default to `true`. +- Add `error` pool event for uncaught worker error. + +## [2.5.0] - 2023-05-31 + +### Added + +- 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 + +- Renamed worker choice strategy `LESS_BUSY` to `LEAST_BUSY` and `LESS_USED` to `LEAST_USED`. + ## [2.4.14] - 2023-05-09 ### Fixed @@ -93,14 +153,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Ensure one task at a time is executed per worker with tasks queueing enabled. -- Properly count worker running tasks with tasks queueing enabled. +- Properly count worker executing tasks with tasks queueing enabled. ## [2.4.5] - 2023-04-09 ### Added -- Use monotonic high resolution timer for worker tasks run time. -- Add worker tasks median run time to statistics. +- Use monotonic high resolution timer for worker tasks runtime. +- Add worker tasks median runtime to statistics. - Add worker tasks queue (experimental). ## [2.4.4] - 2023-04-07