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>
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>
Jérôme Benoit [Sun, 13 Aug 2023 22:14:47 +0000 (00:14 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
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>
github-actions[bot] [Sun, 13 Aug 2023 20:46:57 +0000 (20:46 +0000)]
chore: generate documentation
Jérôme Benoit [Sun, 13 Aug 2023 20:13:38 +0000 (22:13 +0200)]
chore: v2.6.25
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jérôme Benoit [Sat, 12 Aug 2023 15:42:18 +0000 (17:42 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
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>
github-actions[bot] [Sat, 12 Aug 2023 15:16:08 +0000 (15:16 +0000)]
chore: generate documentation
Jérôme Benoit [Sat, 12 Aug 2023 12:47:14 +0000 (14:47 +0200)]
chore: v2.6.24
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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>
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>
Jérôme Benoit [Fri, 11 Aug 2023 21:53:40 +0000 (23:53 +0200)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Fri, 11 Aug 2023 21:48:49 +0000 (23:48 +0200)]
feat: add transferable objects support to worker_threads pool
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
dependabot[bot] [Fri, 11 Aug 2023 20:49:04 +0000 (20:49 +0000)]
build(deps): bump poolifier
Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.22 to 2.6.23.
- [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.22...v2.6.23)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 11 Aug 2023 20:27:39 +0000 (20:27 +0000)]
build(deps): bump poolifier in /examples/typescript/http-client-pool
Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.22 to 2.6.23.
- [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.22...v2.6.23)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 11 Aug 2023 20:25:22 +0000 (20:25 +0000)]
build(deps): bump poolifier
Bumps [poolifier](https://github.com/poolifier/poolifier) from 2.6.22 to 2.6.23.
- [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.22...v2.6.23)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
github-actions[bot] [Fri, 11 Aug 2023 20:00:21 +0000 (20:00 +0000)]
chore: generate documentation
Jérôme Benoit [Fri, 11 Aug 2023 19:57:39 +0000 (21:57 +0200)]
refactor: cleanup http client example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 19:36:38 +0000 (21:36 +0200)]
refactor: use default options values in fastify example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 19:27:22 +0000 (21:27 +0200)]
chore: v2.6.23
Jérôme Benoit [Fri, 11 Aug 2023 19:17:35 +0000 (21:17 +0200)]
refactor: add default options values to fastify example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 17:52:59 +0000 (19:52 +0200)]
build: add examples dependencies to dependabot
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 17:44:03 +0000 (19:44 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 17:35:18 +0000 (19:35 +0200)]
feat: add multithreaded factorial endpoint to express example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 17:25:22 +0000 (19:25 +0200)]
docs: add comment on fastify TS example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 17:15:43 +0000 (19:15 +0200)]
feat: add multithreaded factorial computation endpoint to fastify
example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 16:43:37 +0000 (18:43 +0200)]
build: silence the linter on TS examples code
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 16:27:47 +0000 (18:27 +0200)]
feat: add fastify poolifier integration example
Reference #790
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 09:09:37 +0000 (11:09 +0200)]
build: update volta node version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Fri, 11 Aug 2023 00:28:19 +0000 (02:28 +0200)]
docs: refine benchmarks/README.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 23:51:05 +0000 (01:51 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 23:38:32 +0000 (01:38 +0200)]
fix: fix pool busyness semantic with task queueing enabled
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 22:36:26 +0000 (00:36 +0200)]
build: silence linter on TS code examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 22:30:32 +0000 (00:30 +0200)]
feat: add HTTP server pool example: express request handler pool
Reference: #790
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 20:45:16 +0000 (22:45 +0200)]
refactor: rename http-client to http-client-pool in examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 20:32:08 +0000 (22:32 +0200)]
refactor: move javascript examples in their own folder
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 20:07:05 +0000 (22:07 +0200)]
docs: add links to examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 18:36:21 +0000 (20:36 +0200)]
feat: add axios to http-client TS code example
reference: #790
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 18:04:31 +0000 (20:04 +0200)]
build: fix linter configuration for TS examples, take 2
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 17:44:57 +0000 (19:44 +0200)]
build: fix linter configuraion for TS examples
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 17:26:41 +0000 (19:26 +0200)]
feat: add native node.js fetch implementation to http-client example
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 16:51:26 +0000 (18:51 +0200)]
feat: add node-fetch multithreaded example
reference: #790
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Thu, 10 Aug 2023 00:32:19 +0000 (02:32 +0200)]
refactor: make TS code example also works with TS interpreter like
ts-node
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 23:11:01 +0000 (01:11 +0200)]
docs: fix link in CHANGELOG.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 23:06:01 +0000 (01:06 +0200)]
docs: fix links in docs/api.md
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
github-actions[bot] [Wed, 9 Aug 2023 22:51:40 +0000 (22:51 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 9 Aug 2023 22:49:01 +0000 (00:49 +0200)]
fix: fix markdown documentation removal at typedoc generation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 22:38:50 +0000 (00:38 +0200)]
Revert "chore: generate documentation"
This reverts commit
5e7fdc4a7f8c01824825abd4ad57ec787a4beea7.
github-actions[bot] [Wed, 9 Aug 2023 22:34:51 +0000 (22:34 +0000)]
chore: generate documentation
Jérôme Benoit [Wed, 9 Aug 2023 22:27:13 +0000 (00:27 +0200)]
chore: v2.6.22
Jérôme Benoit [Wed, 9 Aug 2023 22:22:42 +0000 (00:22 +0200)]
build: add missing JSON schema to package.json
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 22:19:33 +0000 (00:19 +0200)]
fix: add types fileds to package.json exports
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:44:03 +0000 (22:44 +0200)]
docs: fix docs/worker-choice-strategies.md structure
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:38:14 +0000 (22:38 +0200)]
docs: refine the project name
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:25:03 +0000 (22:25 +0200)]
docs: add missing api worker section ToC
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:18:36 +0000 (22:18 +0200)]
docs: remove uneeded quote
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:15:21 +0000 (22:15 +0200)]
docs: fix links
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 20:06:50 +0000 (22:06 +0200)]
docs: improve documentation
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Wed, 9 Aug 2023 17:44:34 +0000 (19:44 +0200)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 19:17:54 +0000 (21:17 +0200)]
build: refine prettier configuration
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 19:07:09 +0000 (21:07 +0200)]
docs: refine .md files
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Tue, 8 Aug 2023 18:56:20 +0000 (20:56 +0200)]
Merge pull request #811 from namandeep-123/move-readme-content-to-typedoc
Namandeep Singh [Fri, 4 Aug 2023 20:33:21 +0000 (02:03 +0530)]
feat: move usage and api to typedocs
Jérôme Benoit [Sun, 6 Aug 2023 12:49:20 +0000 (14:49 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier
Jérôme Benoit [Sun, 6 Aug 2023 12:48:47 +0000 (14:48 +0200)]
build: update volta pnpm version
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Jérôme Benoit [Sat, 5 Aug 2023 21:33:38 +0000 (23:33 +0200)]
Merge branch 'master' of github.com:jerome-benoit/poolifier