feat: add fastify hybrid pools example
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 14:26:08 +0000 (16:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 14:26:08 +0000 (16:26 +0200)
commit3b3115396965edad0cf3fefc4f9081977310da34
tree9ee9f8f4c5a9575e4428450e24307ab0df519355
parent1cbc41d7d690ae5a498280b0cb898eeec4522ec6
feat: add fastify hybrid pools example

closes #119 and #790

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
22 files changed:
.github/dependabot.yml
CHANGELOG.md
README.md
examples/typescript/http-client-pool/src/pool.ts
examples/typescript/http-server-pool/express-worker_threads/src/pool.ts
examples/typescript/http-server-pool/fastify-cluster/src/main.ts
examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/package.json [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/pnpm-lock.yaml [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/requests.sh [new file with mode: 0755]
examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-poolifier.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/src/main.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/src/types.ts [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json [new file with mode: 0644]
examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts
examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json
examples/typescript/websocket-server-pool/ws-cluster/src/main.ts
examples/typescript/websocket-server-pool/ws-cluster/src/worker.ts
examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts