Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

Tarn.js

Free#26 of 29 in Database Connection Pooling Software

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.

6.4/10Editor score
Tarn.js6.4 Visit Tarn.js

At a glance

  • Editor score
    6.4 / 10
  • Pricing
    Free plan
  • Best for
    Node.js teams pooling generic resources
  • Free plan
    Yes
  • Paid from
    Free
  • Transaction pooling
    No
  • Facts checked
    14 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

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

Tarn.js fact sheet

Free planYes
Paid fromFree
Transaction poolingNo
Pooling modesNot verified
Deployment modelEmbedded
Supported databasesNot verified
Connection limitNot verified
Protocol supportNot verified
DeploymentSelf-hosted
PlatformsLinux, macOS, Windows
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitegithub.com
Facts checked14 Nov 2026

Alternatives to Tarn.js

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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Tarn.js 6.4/10

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