poolifier
bree
Our great sponsors
poolifier | bree | |
---|---|---|
7 | 11 | |
312 | 2,868 | |
2.2% | 1.5% | |
10.0 | 6.0 | |
1 day ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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.
poolifier
- Poolifier release v2.7.2
- Poolifier release v2.7.1
- Get a speed boost using this package for running worker threads in parallel
-
Piscina – The Node.js Worker Pool
At work I use https://github.com/pioardi/poolifier
We have an api used for generating reports from mongo dB to csv, this let's the report process in the background leaving the report api to still handle requests.
-
Poolifier as Node.js thread/cluster pool
Since that I am familiar with Java programming language, I immediately started to look for thread pool implementations just like are present in java. There was only one small and not exhaustive thread pool at that time, so I started to implement poolifier. I choosed to implement two thread pools, a fixed-size thread pool and a dynamic-size thread pool so that users could tune and choose which one fits better for their applications.
bree
-
Can I make NodeJS app loop forever?
If you only need a single instance, you can use Bree to handle your cron jobs without blocking your main thread.
- What is a good background scheduler?
-
Review: node-cron
Been using https://github.com/hexagon/croner and https://github.com/breejs/bree depending on the use case, both are currently being maintained.
- How are you doing recurring jobs & queued jobs in Node?
- Looking for know how on managing Cron Jobs
-
Scheduling tasks in NodeJS with cron job
Bree is another package with support for workers threads and cron syntax. But for the purpose of this article, we will stick to node-cron. So let's run a simple example:
-
Beware of Promise.all
For more advanced use cases, you might want to look into using a full-featured job queue instead like bree, bull, or agenda.
- What software could be used for scheduling and monitoring routine workflows?
-
What can I use to schedule e-mails after a given date?
An impressive scheduling package I use is called Bree: https://github.com/breejs/bree
-
Alternative to setInterval?
Bree is a super cool cron like scheduler that uses workers to run jobs https://github.com/breejs/bree
What are some alternatives?
piscina - A fast, efficient Node.js Worker Thread Pool implementation
node-cron - A simple cron-like job scheduler for Node.js
node-worker-threads-pool - Simple worker threads pool using node's worker_threads module.
node-cron - Cron for NodeJS.
NodeLearn - Learning node js app
worm-scraper - Scrapes the web serial Worm and its sequel Ward into an eBook format
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
threads.js - 🧵 Make web workers & worker threads as simple as a function call.
agenda - Lightweight job scheduling for Node.js
camaro - camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
mongodb-cron - MongoDB collection as crontab