piscinajs/piscina
A fast, efficient Node.js Worker Thread Pool implementation observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 86
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 44
- age_days: 2338
- days_rel: 12
- days_push: 12
- n_releases_24m: 14
Adoption not part of the score
5194 stars · 174 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Piscina is a fast, efficient worker thread pool library for Node.js, written in TypeScript. It lets developers offload CPU-intensive tasks to a managed pool of worker threads with features like cancellation, backpressure, statistics, and custom task queues.
Use cases
- run cpu-intensive tasks in parallel in nodejs
- offload heavy computation to worker threads
- manage a pool of worker threads in node
- avoid blocking the event loop with expensive work
- parallelize image or data processing in nodejs
- track run and wait times of background tasks
When to choose
- your Node.js app performs CPU-bound work that blocks the event loop
- you need a managed, configurable worker pool with cancellation and statistics
- you want ESM, CommonJS, and TypeScript support out of the box
When to avoid
- your workload is I/O-bound rather than CPU-bound
- you are running on Bun or non-Node.js runtimes where behavior is not assured
- you need multi-process (not multi-thread) parallelism
Facets
library · maturity active
concurrency developer-tools developer-tools backend performance cross-platform worker-threads thread-pool cpu-intensive-tasks typescript multithreading performance nodejs
5 sources
- readme: https://github.com/piscinajs/piscina · fetched 2026-08-28 · 68dcf0163619
- homepage: https://piscinajs.dev · fetched 2026-08-29 · 4d0842ebdcbf
- site_page: https://piscinajs.dev/category/getting-started · fetched 2026-08-29 · 3ef053a9f137
- site_page: https://piscinajs.dev/getting-started/Installation · fetched 2026-08-29 · 85c8479c966b
- registry_npm: https://registry.npmjs.org/piscina · fetched 2026-08-29 · d9c5d7645059
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| piscinajs/piscina | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="piscinajs/piscina")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem