poolifier
Fast and small Node.js worker_threads and cluster worker pool
File Explorer
Download Latest Version (.zip)- bug_report.yml
- config.yml
- feature_request.yml
- config.json
- manifest.json
- autofix.yml
- ci.yml
- codeql-analysis.yml
- internal-benchmark.yml
- publish-documentation.yml
- release-please.yml
- copilot-instructions.md
- FUNDING.yml
- pull_request_template.md
- commit-msg
- pre-commit
- review.md
- format.md
- test.md
- opencode.jsonc
- .gitignore
- project.yml
- extensions.json
- launch.json
- settings.json
- settings.json
- bench.mjs
- cluster-worker.cjs
- thread-worker.mjs
- least.mjs
- round-robin.mjs
- benchmarks-types.cjs
- benchmarks-utils.cjs
- benchmarks-utils.mjs
- README.md
- hierarchy.js
- highlight.css
- icons.js
- icons.svg
- main.js
- navigation.js
- search.js
- style.css
- src.ClusterWorker.html
- src.DynamicClusterPool.html
- src.DynamicThreadPool.html
- src.FixedClusterPool.html
- src.FixedThreadPool.html
- src.ThreadWorker.html
- api.html
- general-guidelines.html
- worker-choice-strategies.html
- src.availableParallelism.html
- src.AbstractPool.html
- src.AbstractWorker.html
- src.CircularBuffer.html
- src.EventLoopUtilizationMeasurementStatistics.html
- src.FixedQueueNode.html
- src.IFixedQueue.html
- src.IPool.html
- src.IWorker.html
- src.IWorkerChoiceStrategy.html
- src.IWorkerNode.html
- src.MeasurementOptions.html
- src.MeasurementStatistics.html
- src.MeasurementStatisticsRequirements.html
- src.MessageValue.html
- src.PoolInfo.html
- src.PoolOptions.html
- src.PriorityQueue.html
- src.PromiseResponseWrapper.html
- src.StrategyData.html
- src.StrategyPolicy.html
- src.Task.html
- src.TaskFunctionObject.html
- src.TaskFunctionOperationResult.html
- src.TaskFunctionProperties.html
- src.TaskPerformance.html
- src.TasksQueueOptions.html
- src.TaskStatistics.html
- src.TaskStatisticsRequirements.html
- src.WorkerChoiceStrategiesContext.html
- src.WorkerChoiceStrategyOptions.html
- src.WorkerError.html
- src.WorkerInfo.html
- src.WorkerNodeEventDetail.html
- src.WorkerNodeOptions.html
- src.WorkerOptions.html
- src.WorkerStatistics.html
- src.WorkerUsage.html
- README.md
- src.html
- src.ClusterPoolOptions.html
- src.ErrorHandler.html
- src.EventHandler.html
- src.ExitHandler.html
- src.KillBehavior.html
- src.KillHandler.html
- src.Measurement.html
- src.MessageHandler.html
- src.OnlineHandler.html
- src.PoolEvent.html
- src.PoolType.html
- src.TaskAsyncFunction.html
- src.TaskFunction.html
- src.TaskFunctions.html
- src.TaskSyncFunction.html
- src.ThreadPoolOptions.html
- src.WorkerChoiceStrategy.html
- src.WorkerType.html
- src.Writable.html
- src.KillBehaviors.html
- src.Measurements.html
- src.PoolEvents.html
- src.PoolTypes.html
- src.WorkerChoiceStrategies.html
- src.WorkerTypes.html
- .nojekyll
- api.md
- general-guidelines.md
- hierarchy.html
- index.html
- worker-choice-strategies.md
- dynamicExample.mjs
- fixedExample.mjs
- multiFunctionExample.mjs
- multiFunctionWorker.mjs
- yourWorker.mjs
- main.ts
- pool.ts
- types.ts
- worker.ts
- httpd-echo.js
- package.json
- pnpm-lock.yaml
- tsconfig.json
- main.ts
- types.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- rollup.config.ts
- tsconfig.json
- express-worker.ts
- main.ts
- request-handler-worker.ts
- types.ts
- package.json
- pnpm-lock.yaml
- rollup.config.ts
- tsconfig.json
- main.ts
- pool.ts
- types.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- tsconfig.json
- main.ts
- types.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- rollup.config.ts
- tsconfig.json
- index.d.ts
- fastify-poolifier.ts
- fastify-worker.ts
- main.ts
- request-handler-worker.ts
- types.ts
- package.json
- pnpm-lock.yaml
- rollup.config.ts
- tsconfig.json
- index.d.ts
- fastify-poolifier.ts
- main.ts
- types.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- tsconfig.json
- main.ts
- pool.ts
- types.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- tsconfig.json
- main.ts
- types.ts
- utils.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- requests.js
- rollup.config.ts
- tsconfig.json
- main.ts
- request-handler-worker.ts
- types.ts
- utils.ts
- websocket-server-worker.ts
- package.json
- pnpm-lock.yaml
- requests.js
- rollup.config.ts
- tsconfig.json
- main.ts
- pool.ts
- types.ts
- utils.ts
- worker.ts
- package.json
- pnpm-lock.yaml
- requests.js
- tsconfig.json
- build.sh
- pool.ts
- worker.ts
- logo.png
- dynamic.ts
- fixed.ts
- abstract-worker-choice-strategy.ts
- fair-share-worker-choice-strategy.ts
- interleaved-weighted-round-robin-worker-choice-strategy.ts
- least-busy-worker-choice-strategy.ts
- least-elu-worker-choice-strategy.ts
- least-used-worker-choice-strategy.ts
- round-robin-worker-choice-strategy.ts
- selection-strategies-types.ts
- selection-strategies-utils.ts
- weighted-round-robin-worker-choice-strategy.ts
- worker-choice-strategies-context.ts
- dynamic.ts
- fixed.ts
- abstract-pool.ts
- pool.ts
- utils.ts
- version.ts
- worker-node.ts
- worker.ts
- abstract-fixed-queue.ts
- fixed-priority-queue.ts
- fixed-queue.ts
- priority-queue.ts
- queue-types.ts
- abort-error.ts
- abstract-worker.ts
- cluster-worker.ts
- task-functions.ts
- thread-worker.ts
- utils.ts
- worker-options.ts
- circular-buffer.ts
- index.ts
- utility-types.ts
- utils.ts
- dynamic.test.mjs
- fixed.test.mjs
- selection-strategies-utils.test.mjs
- selection-strategies.test.mjs
- weighted-round-robin-worker-choice-strategy.test.mjs
- worker-choice-strategies-context.test.mjs
- dynamic.test.mjs
- fixed.test.mjs
- abstract-pool.test.mjs
- utils.test.mjs
- worker-node.test.mjs
- fixed-priority-queue.test.mjs
- fixed-queue.test.mjs
- priority-queue.test.mjs
- abort-error.test.mjs
- abstract-worker.test.mjs
- cluster-worker.test.mjs
- thread-worker.test.mjs
- asyncErrorWorker.cjs
- asyncWorker.cjs
- echoWorker.cjs
- emptyWorker.cjs
- errorWorker.cjs
- longRunningWorkerHardBehavior.cjs
- longRunningWorkerSoftBehavior.cjs
- testMultipleTaskFunctionsWorker.cjs
- testTaskFunctionObjectsWorker.cjs
- testWorker.cjs
- asyncErrorWorker.mjs
- asyncWorker.mjs
- echoWorker.mjs
- emptyWorker.mjs
- errorWorker.mjs
- longRunningWorkerHardBehavior.mjs
- longRunningWorkerSoftBehavior.mjs
- testMultipleTaskFunctionsWorker.mjs
- testTaskFunctionObjectsWorker.mjs
- testWorker.mjs
- circular-buffer.test.mjs
- test-types.cjs
- test-utils.cjs
- utils.test.mjs
- vitest.setup.mjs
- .clean-publish
- .editorconfig
- .gitignore
- .lintstagedrc.js
- .prettierignore
- .prettierrc.json
- AGENTS.md
- biome.json
- CHANGELOG.md
- CLAUDE.md
- CODE_OF_CONDUCT.md
- CODEOWNERS
- commitlint.config.js
- CONTRIBUTING.md
- eslint.config.js
- GEMINI.md
- jsr.json
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- prepare.mjs
- README.md
- renovate.json
- rollup.config.mjs
- SECURITY.md
- sonar-project.properties
- tea.yaml
- tsconfig.build.json
- tsconfig.json
- typedoc.json
- typedoc.mjs
- vitest.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/poolifier/poolifier
Downloads the entire project code from GitHub to your computer.
cd poolifier
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install poolifier --save
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
