piscina VS tarn.js

Compare piscina vs tarn.js and see what are their differences.

piscina

A fast, efficient Node.js Worker Thread Pool implementation (by piscinajs)

tarn.js

Simple and robust resource pool for node.js (by Vincit)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
piscina tarn.js
14 1
3,916 454
2.9% 2.4%
8.4 0.0
5 days ago 7 months ago
TypeScript JavaScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

piscina

Posts with mentions or reviews of piscina. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.

tarn.js

Posts with mentions or reviews of tarn.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-22.
  • Piscina – The Node.js Worker Pool
    9 projects | news.ycombinator.com | 22 Mar 2021
    Knex, the SQL query builder, uses Tarn.js[1] for connection pooling to the db.

    I've been using Tarn a bunch at work recently. We're doing some batch jobs, and I'm queuing work at each stage in Tarn.js pools. I created my own enqueue function that waits until the pool is less than a high-water mark in size before enqueueing. Then the pool has however many workers running.

    [1] https://github.com/vincit/tarn.js/

What are some alternatives?

When comparing piscina and tarn.js you can also consider the following projects:

node-worker-threads-pool - Simple worker threads pool using node's worker_threads module.

NodeLearn - Learning node js app

threads.js - 🧵 Make web workers & worker threads as simple as a function call.

poolifier - Fast and small Node.js worker_threads and cluster worker pool

bree - Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.

worm-scraper - Scrapes the web serial Worm and its sequel Ward into an eBook format

Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

node-express-boilerplate - A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose

Bee-Queue - A simple, fast, robust job/task queue for Node.js, backed by Redis.

Express - Fast, unopinionated, minimalist web framework for node.