Tarn.js
Tarn.js: An open-source Node.js pool for general resources, including configured database connections. Ranked #26 of 29 in Database Connection Pooling Software by our editors (6.4/10); pricing: Free plan; best for node.js teams pooling generic resources.
At a glance
- Editor score6.4 / 10
- PricingFree plan
- Best forNode.js teams pooling generic resources
- Free planYes
- Paid fromFree
- Transaction poolingNo
- Facts checked14 Nov 2026
Where it wins
- Configures resource creation, validation, and destruction
- Offers size limits, timeouts, retries, and idle-resource reaping
- Tracks pool activity with counters and lifecycle hooks
Where it doesn't
- General-purpose library, not a database-specific pooler
- Does not provide transaction pooling or multiplexing
- Support channels are community and documentation
Our verdict on Tarn.js
Tarn.js is an open-source resource-pooling library for Node.js applications. Developers define how resources are created, validated, and destroyed, then acquire and release those resources through a pool. It can be configured to pool database connections, but its focus is generic resource management rather than database-specific connection protocols or pooling modes. It is a fit for developers who want to manage resources within a Node.js application; teams seeking a dedicated database proxy or transaction pooler should look elsewhere.
Pool configuration covers minimum and maximum sizes, acquisition and lifecycle timeouts, idle-resource cleanup, and retries after failed resource creation. Acquisition requests can also be aborted. Counters report used and free resources, pending acquisitions, and pending creations, while lifecycle hooks expose acquisition, creation, destruction, and reaping events. This makes Tarn.js relevant when an application needs configurable pool behavior and visibility into activity, without implying database-specific monitoring or transaction multiplexing.
The published product details describe Tarn.js as open source, with an MIT license and npm installation. Deployment is self-hosted and embedded in the Node.js application; listed platforms are Linux, macOS, and Windows. Community support and documentation are the stated support channels. Choose Tarn.js when a development team wants a general-purpose pool it can configure and operate within its application. Choose a database-specific alternative when database protocols, transaction pooling, or a managed external pooling layer are central requirements.
Your product? Our editors can test Tarn.js in depth and publish a review, labelled as paid · from $149/mo →
Tarn.js pricing
Tarn.js fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Transaction pooling | No |
| Pooling modes | Not verified |
| Deployment model | Embedded |
| Supported databases | Not verified |
| Connection limit | Not verified |
| Protocol support | Not verified |
| Deployment | Self-hosted |
| Platforms | Linux, macOS, Windows |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 14 Nov 2026 |
Alternatives to Tarn.js
- MariaDB MaxScaleSQL-aware pooling and routing for MariaDB and MySQL-compatible production environments.9.3
- OdysseyA focused, open-source pooler for PostgreSQL session and transaction workloads.9.1
- PgBouncerA self-hosted PostgreSQL pooler with flexible modes and connection controls, but no built-in failover.8.9
See all Tarn.js alternatives →
Used Tarn.js? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Tarn.js for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Tarn.js is listed in our Database Connection Pooling Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/tarn-js/"><img src="https://www.itechguides.com/best/badge/tarn-js.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update
