X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=9ac317b4086a12eadffac7c09199e092369cde43;hb=460aaab4b4cb6857827d3e56e11122bffc01db8a;hp=52650f3e72b10aa40fc4bd427206e634ca836ad1;hpb=1d6aaa0a809637ba26d80288126f5a160eb8ce60;p=poolifier.git diff --git a/README.md b/README.md index 52650f3e..9ac317b4 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Please consult our [general guidelines](#general-guidance). - Proper async integration with node async hooks :white_check_mark: - Support for worker threads and cluster node modules :white_check_mark: - Support sync and async tasks :white_check_mark: +- Tasks distribution strategies :white_check_mark: - General guidance on pools to use :white_check_mark: - Widely tested :white_check_mark: - Error handling out of the box :white_check_mark: @@ -165,6 +166,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. @@ -178,6 +180,8 @@ Node versions >= 16.14.x are supported. Default: `{ medRunTime: false }` +- `restartWorkerOnError` (optional) - Restart worker on uncaught error in this pool. + Default: true - `enableEvents` (optional) - Events emission enablement in this pool. Default: true - `enableTasksQueue` (optional) - Tasks queue per worker enablement in this pool.