feat: add ratio of worker nodes in a pool allowed to perform concurrent tasks stealing
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 18 Jul 2024 17:53:08 +0000 (19:53 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 18 Jul 2024 17:53:33 +0000 (19:53 +0200)
commite25f86b30763ea5c2e5fc6c0ef16818b7e4efe83
treee83b0ee58e2903cfa7c13c6d81800eb21c55c6d8
parent5fbbaa8531818cc03ae51e1899170e93996efd63
feat: add ratio of worker nodes in a pool allowed to perform concurrent tasks stealing

closes #2284

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
18 files changed:
examples/typescript/http-client-pool/package.json
examples/typescript/http-server-pool/express-cluster/package.json
examples/typescript/http-server-pool/express-hybrid/package.json
examples/typescript/http-server-pool/express-worker_threads/package.json
examples/typescript/http-server-pool/fastify-cluster/package.json
examples/typescript/http-server-pool/fastify-hybrid/package.json
examples/typescript/http-server-pool/fastify-worker_threads/package.json
examples/typescript/smtp-client-pool/package.json
examples/typescript/websocket-server-pool/ws-cluster/package.json
examples/typescript/websocket-server-pool/ws-hybrid/package.json
examples/typescript/websocket-server-pool/ws-worker_threads/package.json
package.json
src/pools/abstract-pool.ts
src/pools/pool.ts
src/pools/utils.ts
tests/pools/abstract-pool.test.mjs
tests/pools/utils.test.mjs
typedoc.mjs