Jérôme Benoit [Fri, 21 Jul 2023 19:42:54 +0000 (21:42 +0200)]
fix: make pool busyness check for worker readiness
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 19:22:14 +0000 (21:22 +0200)]
fix: untangle tasks queuing condition from pool busyness
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 18:29:08 +0000 (20:29 +0200)]
fix: ensure worker node destroy semantic is always the same
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 16:14:28 +0000 (18:14 +0200)]
perf: optimize worker node lookup by worker id
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 16:03:25 +0000 (18:03 +0200)]
fix: ensure task concurrency is enforced
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 15:21:06 +0000 (17:21 +0200)]
fix: ensure the task concurrency is respected at queued task
redistribution
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:39:54 +0000 (16:39 +0200)]
feat: add dynamic pool sizes type check
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:24:14 +0000 (16:24 +0200)]
docs: refine code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 14:18:34 +0000 (16:18 +0200)]
build: bump volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 13:22:18 +0000 (15:22 +0200)]
fix: ensure tasks redistribution avoid task execution starvation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 12:15:24 +0000 (14:15 +0200)]
perf: speed up dynamic worker termination
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 21 Jul 2023 11:48:12 +0000 (13:48 +0200)]
perf: drastically reduce worker nodes array lookups
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 21:44:31 +0000 (23:44 +0200)]
perf: use worker node key instead of heavy worker reference in hot code path
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 21:18:11 +0000 (23:18 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Thu, 20 Jul 2023 21:16:10 +0000 (23:16 +0200)]
refactor: cleanup pool.execute() structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Thu, 20 Jul 2023 19:51:23 +0000 (19:51 +0000)]
chore: generate documentation
Jérôme Benoit [Thu, 20 Jul 2023 16:33:45 +0000 (18:33 +0200)]
chore: v2.6.19
Jérôme Benoit [Thu, 20 Jul 2023 16:28:07 +0000 (18:28 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 16:14:09 +0000 (18:14 +0200)]
fix: register worker message handler only once the worker is ready
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 16:10:45 +0000 (18:10 +0200)]
fix: close communication channel on error
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 15:47:52 +0000 (17:47 +0200)]
fix: unref() message port at worker exit
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 20 Jul 2023 10:07:19 +0000 (12:07 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 23:48:21 +0000 (01:48 +0200)]
refactor: factor out worker communication channel closing
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:49:12 +0000 (00:49 +0200)]
refactor: add sanity check at getting worker info
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:21:32 +0000 (00:21 +0200)]
refactor: cleanup worker id handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 22:03:59 +0000 (00:03 +0200)]
refactor: cleanup ready message conditions check in worker code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 21:41:53 +0000 (23:41 +0200)]
feat: add dedicated message channel for threads pool
Reference: #801
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 18:04:43 +0000 (20:04 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Wed, 19 Jul 2023 18:03:13 +0000 (20:03 +0200)]
refactor: add helper to get worker info by worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 19 Jul 2023 13:18:13 +0000 (13:18 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 19 Jul 2023 13:12:22 +0000 (15:12 +0200)]
chore: v2.6.18
Jérôme Benoit [Wed, 19 Jul 2023 13:01:57 +0000 (15:01 +0200)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 12:36:52 +0000 (14:36 +0200)]
refactor: factor out measurement requirements median toggling code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 10:46:02 +0000 (12:46 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 19 Jul 2023 10:26:54 +0000 (12:26 +0200)]
refactor: add sanity checks to worker code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 10:14:43 +0000 (12:14 +0200)]
test: improve updateMeasurementStatistics() behavior test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 19 Jul 2023 10:05:41 +0000 (12:05 +0200)]
refactor: cleanup measurement statistics computation code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 20:58:37 +0000 (22:58 +0200)]
test: add updateMeasurementStatistics() behavior test
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 20:23:29 +0000 (22:23 +0200)]
refactor: factor out measurement statistics update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 18:16:36 +0000 (20:16 +0200)]
build: update volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 18 Jul 2023 11:51:07 +0000 (13:51 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Jul 2023 13:59:42 +0000 (15:59 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Mon, 17 Jul 2023 13:29:05 +0000 (15:29 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Mon, 17 Jul 2023 13:27:51 +0000 (15:27 +0200)]
refactor: factor out last task timestamp update
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 22:23:44 +0000 (00:23 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 16 Jul 2023 19:11:32 +0000 (21:11 +0200)]
refactor: reorder benchmarks
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 17:43:57 +0000 (19:43 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sun, 16 Jul 2023 17:42:14 +0000 (19:42 +0200)]
refactor: cleanup worker.addTaskFunction()
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Sun, 16 Jul 2023 16:47:35 +0000 (16:47 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 16 Jul 2023 16:42:33 +0000 (18:42 +0200)]
chore: v2.6.17
Jérôme Benoit [Sun, 16 Jul 2023 16:39:29 +0000 (18:39 +0200)]
docs: update CHANGELOG.md entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sun, 16 Jul 2023 16:29:41 +0000 (18:29 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 17:19:45 +0000 (19:19 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 17:02:14 +0000 (19:02 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 14:31:37 +0000 (16:31 +0200)]
docs: add code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 14:01:41 +0000 (16:01 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 13:58:55 +0000 (15:58 +0200)]
docs: fix README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 13:56:17 +0000 (15:56 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 09:43:07 +0000 (11:43 +0200)]
docs: refine changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 09:39:59 +0000 (11:39 +0200)]
feat: add method to list registered task functions on a worker
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 15 Jul 2023 08:43:52 +0000 (10:43 +0200)]
docs: refine keywords
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 20:23:17 +0000 (22:23 +0200)]
docs: refine README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 20:07:36 +0000 (22:07 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 14 Jul 2023 20:06:45 +0000 (22:06 +0200)]
docs: worker-threads -> worker_threads
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Fri, 14 Jul 2023 19:55:07 +0000 (19:55 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 14 Jul 2023 19:09:54 +0000 (21:09 +0200)]
docs: refine comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 18:12:11 +0000 (20:12 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:38:08 +0000 (16:38 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:31:12 +0000 (16:31 +0200)]
build: update eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 14:17:51 +0000 (16:17 +0200)]
fix: unref check active interval
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 14 Jul 2023 07:59:35 +0000 (09:59 +0200)]
docs: update benchmark vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 13 Jul 2023 18:19:09 +0000 (20:19 +0200)]
refactor: cleanup pool startup code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 18:53:44 +0000 (20:53 +0200)]
docs: refine badge links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 18:17:08 +0000 (20:17 +0200)]
docs: add commit activity to badges
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 11:26:11 +0000 (13:26 +0200)]
test: test for pool event emitter property
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 12 Jul 2023 10:49:27 +0000 (10:49 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 12 Jul 2023 10:47:10 +0000 (12:47 +0200)]
chore: v2.6.16
Jérôme Benoit [Wed, 12 Jul 2023 10:46:15 +0000 (12:46 +0200)]
docs: refine changelog entries
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 10:45:04 +0000 (12:45 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Wed, 12 Jul 2023 10:44:04 +0000 (12:44 +0200)]
test: refine worker tests
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 12 Jul 2023 10:42:45 +0000 (10:42 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 12 Jul 2023 10:22:02 +0000 (12:22 +0200)]
docs: define changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 12 Jul 2023 10:05:56 +0000 (12:05 +0200)]
fix: fix worker task functions handling
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 20:44:26 +0000 (22:44 +0200)]
docs: refine code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 20:26:37 +0000 (22:26 +0200)]
docs: refine code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 20:24:54 +0000 (22:24 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Tue, 11 Jul 2023 20:24:14 +0000 (22:24 +0200)]
docs: update benchmarks vs. external pools
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 11 Jul 2023 19:58:25 +0000 (21:58 +0200)]
fix: fix pool starting detection
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 19:18:35 +0000 (21:18 +0200)]
build: cleanup eslint configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 18:39:09 +0000 (20:39 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Tue, 11 Jul 2023 18:38:33 +0000 (20:38 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 11 Jul 2023 18:17:50 +0000 (18:17 +0000)]
chore: generate documentation
Jérôme Benoit [Tue, 11 Jul 2023 18:09:39 +0000 (20:09 +0200)]
chore: v2.6.15
Jérôme Benoit [Tue, 11 Jul 2023 18:08:29 +0000 (20:08 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 17:58:45 +0000 (19:58 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Tue, 11 Jul 2023 17:57:31 +0000 (19:57 +0200)]
refactor: methods namepace cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Tue, 11 Jul 2023 17:41:51 +0000 (17:41 +0000)]
chore: generate documentation
Jérôme Benoit [Tue, 11 Jul 2023 17:32:43 +0000 (19:32 +0200)]
docs: cleanup dynamic worker activity check comments
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 16:31:54 +0000 (18:31 +0200)]
test: refine expectations
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 11 Jul 2023 16:29:07 +0000 (18:29 +0200)]
fix: fix pool statuses semantic
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>