# coopernurse/node-pool

Generic resource pooling for node.js

Repository: https://github.com/coopernurse/node-pool
Canonical: https://ross.abutalabs.com/products/node-pool
Language: JavaScript
License Family: other
Last push: 2024-03-08T16:14:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5815, "days_push": 908, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2406, forks 258 (observed 2026-08-28T04:06:44.138709+00:00)

## What it is
generic-pool is a Node.js library providing a generic, Promise-based resource pool for reusing or throttling expensive resources like database connections. Users define a factory with create/destroy functions and configure min/max pool sizes, then acquire and release resources through the pool.

## Use cases
- pool database connections in node.js
- throttle usage of expensive resources
- limit concurrent connections to a service
- reuse tcp or socket clients across requests
- manage a fixed set of worker resources with promises

## When to choose
- you need a generic Promise-based pool for any resource type in Node.js
- your database driver has no built-in connection pooling
- you want to cap concurrent access to a costly external resource

## When to avoid
- your database driver already includes its own connection pool
- you need pooling in a non-Node.js environment
- you need actively developed software with a maintained license

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, caching, database-driver
- domain: developer-tools, backend, databases
- platform: -
- tags: resource-pooling, promise-based, connection-pool, throttling, nodejs

## Member repositories
- coopernurse/node-pool (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.138709+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:06.653872+00:00, confidence not recorded.
  - readme: https://github.com/coopernurse/node-pool (fetched 2026-08-28T04:06:44.138709+00:00, sha eddea3becdd7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
