poolifier.git
15 months agobuild: fix prettier configuration
Jérôme Benoit [Tue, 15 Aug 2023 14:02:10 +0000 (16:02 +0200)] 
build: fix prettier configuration

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: sync task function names in pool
Jérôme Benoit [Tue, 15 Aug 2023 13:53:52 +0000 (15:53 +0200)] 
feat: sync task function names in pool

closes #842

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup promise usage code
Jérôme Benoit [Tue, 15 Aug 2023 10:49:15 +0000 (12:49 +0200)] 
refactor: cleanup promise usage code

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: add response type to SMTP client pool example
Jérôme Benoit [Tue, 15 Aug 2023 09:40:07 +0000 (11:40 +0200)] 
refactor: add response type to SMTP client pool example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: smtp client pool example
Jérôme Benoit [Tue, 15 Aug 2023 09:31:46 +0000 (11:31 +0200)] 
feat: smtp client pool example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge pull request #839 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 22:37:42 +0000 (22:37 +0000)] 
Merge pull request #839 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-hybrid/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/websocket-server-pool/ws-hybrid

15 months agoMerge pull request #833 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 22:37:28 +0000 (22:37 +0000)] 
Merge pull request #833 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_threads/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/websocket-server-pool/ws-worker_threads

15 months agoMerge pull request #834 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 22:34:01 +0000 (22:34 +0000)] 
Merge pull request #834 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-worker_threads/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/http-server-pool/express-worker_threads

15 months agoMerge pull request #840 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 22:31:36 +0000 (22:31 +0000)] 
Merge pull request #840 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/http-server-pool/fastify-hybrid

15 months agoMerge pull request #841 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 22:29:20 +0000 (22:29 +0000)] 
Merge pull request #841 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/http-server-pool/fastify-hybrid

15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 22:04:30 +0000 (22:04 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 21:52:27 +0000 (21:52 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 21:52:05 +0000 (21:52 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 21:51:57 +0000 (21:51 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 21:51:50 +0000 (21:51 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoMerge pull request #838 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:09:49 +0000 (21:09 +0000)] 
Merge pull request #838 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-hybrid/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/websocket-server-pool/ws-hybrid

15 months agoMerge pull request #837 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:09:02 +0000 (21:09 +0000)] 
Merge pull request #837 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-cluster/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/websocket-server-pool/ws-cluster

15 months agoMerge pull request #836 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:08:37 +0000 (21:08 +0000)] 
Merge pull request #836 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-cluster/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/websocket-server-pool/ws-cluster

15 months agoMerge pull request #835 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:08:03 +0000 (21:08 +0000)] 
Merge pull request #835 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-worker_threads/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/http-server-pool/express-worker_threads

15 months agoMerge pull request #832 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:06:21 +0000 (21:06 +0000)] 
Merge pull request #832 from poolifier/dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_threads/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/websocket-server-pool/ws-worker_threads

15 months agoMerge pull request #831 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:05:59 +0000 (21:05 +0000)] 
Merge pull request #831 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-client-pool/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/http-client-pool

15 months agoMerge pull request #830 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:05:38 +0000 (21:05 +0000)] 
Merge pull request #830 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-client-pool/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/http-client-pool

15 months agoMerge pull request #829 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:05:16 +0000 (21:05 +0000)] 
Merge pull request #829 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_threads/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/http-server-pool/fastify-worker_threads

15 months agoMerge pull request #828 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:04:47 +0000 (21:04 +0000)] 
Merge pull request #828 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_threads/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/http-server-pool/fastify-worker_threads

15 months agoMerge pull request #827 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:04:25 +0000 (21:04 +0000)] 
Merge pull request #827 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-cluster/types/node-20.5.0

build(deps-dev): bump @types/node from 20.4.10 to 20.5.0 in /examples/typescript/http-server-pool/fastify-cluster

15 months agoMerge pull request #826 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Mon, 14 Aug 2023 21:04:00 +0000 (21:04 +0000)] 
Merge pull request #826 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-cluster/poolifier-2.6.25

build(deps): bump poolifier from 2.6.24 to 2.6.25 in /examples/typescript/http-server-pool/fastify-cluster

15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 21:02:47 +0000 (21:02 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 20:46:58 +0000 (20:46 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:46:27 +0000 (20:46 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:40:16 +0000 (20:40 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:29:47 +0000 (20:29 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:28:13 +0000 (20:28 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier in /examples/typescript/http-client-pool
dependabot[bot] [Mon, 14 Aug 2023 20:27:47 +0000 (20:27 +0000)] 
build(deps): bump poolifier in /examples/typescript/http-client-pool

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agofix: emit error event if a dynamic worker destroy fails
Jérôme Benoit [Mon, 14 Aug 2023 20:25:51 +0000 (22:25 +0200)] 
fix: emit error event if a dynamic worker destroy fails

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 20:25:31 +0000 (20:25 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:25:19 +0000 (20:25 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Mon, 14 Aug 2023 20:21:08 +0000 (20:21 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.10 to 20.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps): bump poolifier
dependabot[bot] [Mon, 14 Aug 2023 20:20:59 +0000 (20:20 +0000)] 
build(deps): bump poolifier

Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.24 to 2.6.25.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v2.6.24...v2.6.25)

---
updated-dependencies:
- dependency-name: poolifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agorefactor: refine worker message handling error messsage
Jérôme Benoit [Mon, 14 Aug 2023 19:44:00 +0000 (21:44 +0200)] 
refactor: refine worker message handling error messsage

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: refine worker termination error message
Jérôme Benoit [Mon, 14 Aug 2023 19:11:33 +0000 (21:11 +0200)] 
refactor: refine worker termination error message

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup worker catch clause
Jérôme Benoit [Mon, 14 Aug 2023 19:07:45 +0000 (21:07 +0200)] 
refactor: cleanup worker catch clause

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add worker kill handler success or failure reporting
Jérôme Benoit [Mon, 14 Aug 2023 19:02:13 +0000 (21:02 +0200)] 
feat: add worker kill handler success or failure reporting

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add support for async kill handler
Jérôme Benoit [Mon, 14 Aug 2023 18:06:08 +0000 (20:06 +0200)] 
feat: add support for async kill handler

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild(deps-dev): apply updates
Jérôme Benoit [Mon, 14 Aug 2023 17:46:16 +0000 (19:46 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: remove duplicate import in examples
Jérôme Benoit [Mon, 14 Aug 2023 15:15:21 +0000 (17:15 +0200)] 
refactor: remove duplicate import in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: refine worker message handling error message
Jérôme Benoit [Mon, 14 Aug 2023 14:52:35 +0000 (16:52 +0200)] 
refactor: refine worker message handling error message

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: refine pool startup error message
Jérôme Benoit [Mon, 14 Aug 2023 14:44:18 +0000 (16:44 +0200)] 
refactor: refine pool startup error message

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: refine error message at pool instantiation inside a worker
Jérôme Benoit [Mon, 14 Aug 2023 14:39:51 +0000 (16:39 +0200)] 
refactor: refine error message at pool instantiation inside a worker

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup main worker checks
Jérôme Benoit [Mon, 14 Aug 2023 14:34:52 +0000 (16:34 +0200)] 
refactor: cleanup main worker checks

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add a kill handler to worker to allow to run custom code at worker
Jérôme Benoit [Mon, 14 Aug 2023 14:22:57 +0000 (16:22 +0200)] 
feat: add a kill handler to worker to allow to run custom code at worker
termination

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofix: fix pool sizing in examples
Jérôme Benoit [Mon, 14 Aug 2023 00:09:47 +0000 (02:09 +0200)] 
fix: fix pool sizing in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sun, 13 Aug 2023 23:43:05 +0000 (01:43 +0200)] 
Merge branch 'master' of github.com:poolifier/poolifier

15 months agoMerge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sun, 13 Aug 2023 23:40:39 +0000 (01:40 +0200)] 
Merge branch 'master' of github.com:jerome-benoit/poolifier

15 months agodocs: update benchmarks vs. external pools
Jérôme Benoit [Sun, 13 Aug 2023 23:39:31 +0000 (01:39 +0200)] 
docs: update benchmarks vs. external pools

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
15 months agoperf: reduce the worker_threads pool size in hybrid examples
Jérôme Benoit [Sun, 13 Aug 2023 23:05:18 +0000 (01:05 +0200)] 
perf: reduce the worker_threads pool size in hybrid examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild: refine vscode recommanded extensions list
Jérôme Benoit [Sun, 13 Aug 2023 22:41:43 +0000 (00:41 +0200)] 
build: refine vscode recommanded extensions list

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sun, 13 Aug 2023 22:14:47 +0000 (00:14 +0200)] 
Merge branch 'master' of github.com:poolifier/poolifier

15 months agobuild: switch from prettier to rome as code formatter
Jérôme Benoit [Sun, 13 Aug 2023 22:13:25 +0000 (00:13 +0200)] 
build: switch from prettier to rome as code formatter

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agochore: generate documentation
github-actions[bot] [Sun, 13 Aug 2023 20:46:57 +0000 (20:46 +0000)] 
chore: generate documentation

15 months agochore: v2.6.25 v2.6.25
Jérôme Benoit [Sun, 13 Aug 2023 20:13:38 +0000 (22:13 +0200)] 
chore: v2.6.25

15 months agobuild(deps-dev): apply updates
Jérôme Benoit [Sun, 13 Aug 2023 20:11:49 +0000 (22:11 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: encapsulate code into classes in examples
Jérôme Benoit [Sun, 13 Aug 2023 18:00:04 +0000 (20:00 +0200)] 
refactor: encapsulate code into classes in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: move pools options handling in main ws-hybrid example
Jérôme Benoit [Sun, 13 Aug 2023 17:36:52 +0000 (19:36 +0200)] 
refactor: move pools options handling in main ws-hybrid example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup error messages in TS examples
Jérôme Benoit [Sun, 13 Aug 2023 16:39:37 +0000 (18:39 +0200)] 
refactor: cleanup error messages in TS examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: move request handler pool init into cluster worker in
Jérôme Benoit [Sun, 13 Aug 2023 16:31:10 +0000 (18:31 +0200)] 
refactor: move request handler pool init into cluster worker in
ws-hybrid example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: move worker_threads pool init in main method in fastify-hybrid
Jérôme Benoit [Sun, 13 Aug 2023 16:10:13 +0000 (18:10 +0200)] 
refactor: move worker_threads pool init in main method in fastify-hybrid
example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild: fix dependabot configuration syntax
Jérôme Benoit [Sun, 13 Aug 2023 15:37:29 +0000 (17:37 +0200)] 
build: fix dependabot configuration syntax

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add websocket server hybrid pool example
Jérôme Benoit [Sun, 13 Aug 2023 15:30:35 +0000 (17:30 +0200)] 
feat: add websocket server hybrid pool example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add fastify hybrid pools example
Jérôme Benoit [Sun, 13 Aug 2023 14:26:08 +0000 (16:26 +0200)] 
feat: add fastify hybrid pools example

closes #119 and #790

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofix: fix fastify worker_threads type definition
Jérôme Benoit [Sun, 13 Aug 2023 12:58:22 +0000 (14:58 +0200)] 
fix: fix fastify worker_threads type definition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup examples
Jérôme Benoit [Sat, 12 Aug 2023 23:18:47 +0000 (01:18 +0200)] 
refactor: cleanup examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: use poolifier worker error handling in examples
Jérôme Benoit [Sat, 12 Aug 2023 22:41:49 +0000 (00:41 +0200)] 
refactor: use poolifier worker error handling in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: start server in worker online handler in examples
Jérôme Benoit [Sat, 12 Aug 2023 21:43:48 +0000 (23:43 +0200)] 
refactor: start server in worker online handler in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add ws-cluster-pool example
Jérôme Benoit [Sat, 12 Aug 2023 21:28:47 +0000 (23:28 +0200)] 
feat: add ws-cluster-pool example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add fastify in cluster pool example
Jérôme Benoit [Sat, 12 Aug 2023 20:24:24 +0000 (22:24 +0200)] 
feat: add fastify in cluster pool example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: prepare examples for cluster pool ones
Jérôme Benoit [Sat, 12 Aug 2023 17:35:46 +0000 (19:35 +0200)] 
refactor: prepare examples for cluster pool ones

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Sat, 12 Aug 2023 15:42:18 +0000 (17:42 +0200)] 
Merge branch 'master' of github.com:poolifier/poolifier

15 months agodocs: refine README.md
Jérôme Benoit [Sat, 12 Aug 2023 15:41:14 +0000 (17:41 +0200)] 
docs: refine README.md

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agochore: generate documentation
github-actions[bot] [Sat, 12 Aug 2023 15:16:08 +0000 (15:16 +0000)] 
chore: generate documentation

15 months agochore: v2.6.24 v2.6.24
Jérôme Benoit [Sat, 12 Aug 2023 12:47:14 +0000 (14:47 +0200)] 
chore: v2.6.24

15 months agodocs: fix API documentation
Jérôme Benoit [Sat, 12 Aug 2023 12:38:02 +0000 (14:38 +0200)] 
docs: fix API documentation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge pull request #816 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Sat, 12 Aug 2023 12:33:23 +0000 (12:33 +0000)] 
Merge pull request #816 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/express/types/node-20.4.10

build(deps-dev): bump @types/node from 20.4.9 to 20.4.10 in /examples/typescript/http-server-pool/express

15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Sat, 12 Aug 2023 12:29:03 +0000 (12:29 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.9 to 20.4.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoMerge pull request #821 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Sat, 12 Aug 2023 12:22:38 +0000 (12:22 +0000)] 
Merge pull request #821 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify/types/node-20.4.10

build(deps-dev): bump @types/node from 20.4.9 to 20.4.10 in /examples/typescript/http-server-pool/fastify

15 months agobuild(deps-dev): bump @types/node
dependabot[bot] [Sat, 12 Aug 2023 12:12:48 +0000 (12:12 +0000)] 
build(deps-dev): bump @types/node

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.9 to 20.4.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
15 months agobuild(deps-dev): apply updates
Jérôme Benoit [Sat, 12 Aug 2023 12:11:18 +0000 (14:11 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild(deps-dev): apply updates
Jérôme Benoit [Sat, 12 Aug 2023 12:08:58 +0000 (14:08 +0200)] 
build(deps-dev): apply updates

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agotest: improve tranferable objects test
Jérôme Benoit [Sat, 12 Aug 2023 12:05:59 +0000 (14:05 +0200)] 
test: improve tranferable objects test

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild: silence linter
Jérôme Benoit [Sat, 12 Aug 2023 11:54:49 +0000 (13:54 +0200)] 
build: silence linter

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoperf: remove unneeded condition
Jérôme Benoit [Sat, 12 Aug 2023 11:49:06 +0000 (13:49 +0200)] 
perf: remove unneeded condition

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agobuild: silence linter
Jérôme Benoit [Sat, 12 Aug 2023 11:34:04 +0000 (13:34 +0200)] 
build: silence linter

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agofeat: add ws server request pool handlers example
Jérôme Benoit [Sat, 12 Aug 2023 11:23:27 +0000 (13:23 +0200)] 
feat: add ws server request pool handlers example

reference: #790

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agotest: add test for transferable objects in execute() for worker_threads
Jérôme Benoit [Sat, 12 Aug 2023 09:45:13 +0000 (11:45 +0200)] 
test: add test for transferable objects in execute() for worker_threads
pool

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agodocs: make the typedoc generation portable
Jérôme Benoit [Sat, 12 Aug 2023 09:16:01 +0000 (11:16 +0200)] 
docs: make the typedoc generation portable

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge pull request #820 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Fri, 11 Aug 2023 22:54:53 +0000 (22:54 +0000)] 
Merge pull request #820 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify/poolifier-2.6.23

build(deps): bump poolifier from 2.6.22 to 2.6.23 in /examples/typescript/http-server-pool/fastify

15 months agoMerge pull request #818 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Fri, 11 Aug 2023 22:54:19 +0000 (22:54 +0000)] 
Merge pull request #818 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-client-pool/poolifier-2.6.23

build(deps): bump poolifier from 2.6.22 to 2.6.23 in /examples/typescript/http-client-pool

15 months agoMerge pull request #815 from poolifier/dependabot/npm_and_yarn/examples/typescript...
Jérôme Benoit [Fri, 11 Aug 2023 22:53:58 +0000 (22:53 +0000)] 
Merge pull request #815 from poolifier/dependabot/npm_and_yarn/examples/typescript/http-server-pool/express/poolifier-2.6.23

build(deps): bump poolifier from 2.6.22 to 2.6.23 in /examples/typescript/http-server-pool/express

15 months agorefactor: use fastify logging in example
Jérôme Benoit [Fri, 11 Aug 2023 22:36:45 +0000 (00:36 +0200)] 
refactor: use fastify logging in example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agorefactor: cleanup promise usage in fastify example
Jérôme Benoit [Fri, 11 Aug 2023 22:23:34 +0000 (00:23 +0200)] 
refactor: cleanup promise usage in fastify example

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
15 months agoMerge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 11 Aug 2023 21:53:40 +0000 (23:53 +0200)] 
Merge branch 'master' of github.com:poolifier/poolifier