fix: prepare code to fix pool internal IPC for cluster worker
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 19:08:32 +0000 (21:08 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 26 Jun 2023 19:08:32 +0000 (21:08 +0200)
commite102732c0e3966b81834b2c0bdd087eb051162ad
tree064cd4c9e31624c578b3f4ca29d1f0570ec2386f
parent7ebef000df647c4fbb722120dc48f42575382af0
fix: prepare code to fix pool internal IPC for cluster worker

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
38 files changed:
.eslintrc.js
benchmarks/README.md
benchmarks/internal/cluster-worker.mjs
benchmarks/internal/thread-worker.mjs
benchmarks/versus-external-pools/fixed-microjob.mjs [deleted file]
benchmarks/versus-external-pools/fixed-threadwork.mjs [deleted file]
benchmarks/versus-external-pools/hyperfine_benchmarks.sh
benchmarks/versus-external-pools/package.json
benchmarks/versus-external-pools/pnpm-lock.yaml
benchmarks/versus-external-pools/pool-threadwork.mjs [deleted file]
benchmarks/versus-external-pools/threadjs.mjs [deleted file]
benchmarks/versus-external-pools/workers/threadjs/function-to-bench-worker.mjs [deleted file]
package.json
pnpm-lock.yaml
src/index.ts
src/pools/abstract-pool.ts
src/pools/cluster/dynamic.ts
src/pools/cluster/fixed.ts
src/pools/pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/least-busy-worker-choice-strategy.ts
src/pools/selection-strategies/least-elu-worker-choice-strategy.ts
src/pools/selection-strategies/least-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/pools/thread/dynamic.ts
src/pools/thread/fixed.ts
src/pools/worker.ts
src/queue.ts
src/utility-types.ts
src/worker/abstract-worker.ts
src/worker/cluster-worker.ts
src/worker/thread-worker.ts
src/worker/worker-functions.ts
tests/worker/abstract-worker.test.js