bull
node-resque
Our great sponsors
bull | node-resque | |
---|---|---|
50 | 4 | |
14,971 | 1,327 | |
1.2% | 0.9% | |
7.1 | 8.2 | |
4 days ago | 4 days ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
bull
-
Prioritizing Concurrent Requests: Queuing system to handle distributed processes and messages with NodeJS and Bull
To implement the solution with a queue, I used a package called 'Bull' (https://github.com/OptimalBits/bull). It's a library that helps with distributed job control, providing some very useful solutions for this type of work, such as background job processing, queues with priorities (FIFO, LIFO, and others), among other features. 'Bull' uses Redis for queue storage, so if your application crashes for any reason, once it's back online, it will continue executing the processes that are in the queue. In our case, we'll use the FIFO (First in, first out) queue solution, meaning priority based on arrival order.
-
How to use Job Queue to handle email sending in your Nestjs server
For Job Queue, NestJs provides a package named @nestjs/bull as an abstraction/wrapper on top of Bull, a popular, well-supported, high-performance Node. js-based Queue system implementation.
-
How do you handle queues in Node.js? Have you ever tried using pgboss?
I'm working on a large ETL project that involves handling queues for file integration. Currently, we are using Redis with Bull (https://www.npmjs.com/package/bull) for this purpose. However, to streamline our architecture and address security concerns, we are considering migrating the queue to PostgreSQL.
-
What is a good background scheduler?
BullMQ is a pretty solid choice: https://github.com/taskforcesh/bullmq It's the successor of Bull: https://github.com/OptimalBits/bull
-
How do I implement Heroku background processes?
This is a memory intensive process though and Heroku is OOM'ing with R14 errors. For this they recommend migrating intensive work like this to a Background Job via Redis, implemented in Bull and Throng
-
Infinite loop pattern to poll for a queue in a REST server app
I would use a job queuer like https://github.com/OptimalBits/bull
-
Practical Benefits of an Event Driven Approach
At Woovi we use bull for distributed jobs and messages using Redis. If you are starting a fresh codebase, or moving to event driven approach, we recommend to use bullmq which is a modern version of bull.
-
Back-end for sending out emails after a certain delay
I would use Bull to implement it
This (or equivalent system) is what's usually used for what you're trying to do.
-
Blitz.js – The Missing Fullstack Toolkit for Next.js
Something like Bull might do the job (https://github.com/OptimalBits/bull)
node-resque
-
Just Wanted to Say Thanks
This inspired me so I will find more time to do this as well. Went ahead and started at one of my favorite projects that I use across several professional and personal projects :)
What are some alternatives?
Bee-Queue - A simple, fast, robust job/task queue for Node.js, backed by Redis.
kue - Kue is a priority job queue backed by redis, built for node.js.
agenda - Lightweight job scheduling for Node.js
bottleneck - Job scheduler and rate limiter, supports Clustering
better-queue - Better Queue for NodeJS
idoit - Redis-backed task queue engine with advanced task control and eventual consistency
The gist - BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
RedisSMQ - A simple high-performance Redis message queue for Node.js.
rsmq - Redis Simple Message Queue
Qedis
Redis - 🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
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.