Bull is a Node library that implements a fast and robust queue system based on redis. It is the recommended successor to Automattic's deprecated Kue. The next version of Bull, currently in development, is BullMQ.
Questions tagged [bull]
100 questions
1
vote
3 answers
Add worker to PM2 pool. Don't reload/restart existing workers
Env.: Node.js on Ubuntu, using PM2 programmatically.
I have started PM2 with 3 instances via Node on my main code. Suppose I use the PM2 command line to delete one of the instances. Can I add back another worker to the pool? Can this be done without…

noderman
- 1,934
- 1
- 20
- 36
0
votes
0 answers
Why I cannot connect to GCP Redis Instance?
I'm trying to connect to a Redis Instance of Google Cloud Platform but it hasn´t succeed.
I am working with Bull and NestJS.
This is how I have setup the conection to Redis Instance in the app.module file:
BullModule.forRoot({
redis: {
…
0
votes
1 answer
How to remove a job from a queue in @nestjs/bull?
I have two processors the first one is called with a callback function and never call it, this way the job still waiting and do not close unless the timeout, the other process find the waiting job of the processor 1 and moveToCompleted, but for a…

Carlos Zequeira
- 1
- 1
0
votes
0 answers
Detect hung state
I am working for a application which is a version control system. Currently there are 5 servers which can be deployed and we have to keep monitoring the status while deployment(active,completed,hung,failed),
so how can I check hung state of any of…
0
votes
0 answers
Bull Arena for bullmq - TypeError: as of 3.0.0, bull-arena requires that the queue constructors be provided to Arena
I'm using bullmq not bull library
import BullMQ from 'bullmq';
import Arena from 'bull-arena';
const arenaConfig = Arena({
BullMQ,
queues: bullQueues,
});
got an error TypeError: as of 3.0.0, bull-arena requires that the queue constructors be…

Vzans
- 91
- 1
- 6
0
votes
0 answers
How can I efficiently scale CPU-intensive tasks using BullMQ Queue and child processes while overcoming limitations with object passing?
I am utilizing a machine learning (ML) object for object detection in images and have incorporated the use of the bullMQ queue.
During testing on a few hundred images, I encountered slow performance and therefore attempted to enhance its…

Amir Alam
- 155
- 1
- 12
0
votes
0 answers
```Bull queue error: ReplyError: MOVED 4913 dev-.use2.cache.amazonaws.com:6379``` while connecting with adding and processing BULL queue```
I tried to run BULL queue with aws redis cluster. But i am facing this error Bull queue error: ReplyError: MOVED 4913 dev-.use2.cache.amazonaws.com:6379 while connecting with adding and processing BULL queue```
I have tried adding hash before…

Divyanshu Sen
- 71
- 9
0
votes
1 answer
Bull/NestJS not processing items on Heroku (not even connecting from local dev)
I am using NestJS alongside bull to process queues that get added by a cron and manually through a GET call on a service. It all works fine on my docker development in the local machine, but, if I connect the local nestJS to the redis instance on…

julian corredor
- 103
- 2
- 13
0
votes
0 answers
Resend a task with the same ID after it is completed using Bull library
I'm using the Bull library for managing job queues in a fast-paced cryptocurrency exchange application. I have two types of tasks: "create order" and "cancel order". If an order with the same ID already exists in the exchange, I don't want to create…

Kvlknctk
- 634
- 12
- 27
0
votes
0 answers
Node js redis using child_process to manage queue windows process
I have a question about redis using node js, my idea is to create an Orchestrator for my RPA (Robotic Process Automation) bots with a dashboard using websocket, I would like to know if it is right to command the queues using redis with bull and at…

Patrick Sampaio
- 3
- 2
0
votes
1 answer
Is it possible to connect nestjs/bull to heroku data for redis?
i'm trying to use "Nestjs/Bull" and using addon "Heroku Data for Redis" as its redis in Deployed Heroku App.
But it's seems failed to connect, there is no job queued and executed.
Here's my bull config in app.module.ts :
imports: [
…

TowewTew
- 1
- 1
0
votes
0 answers
Heroku NestJS BullModule unable to connect to Redis Cloud
I have tried everything to try and get Redis to work with Bull in my Nest.js app, but every time I try to run my task, it times out after retrying too many times. My code works perfectly with a host and port locally, but I can't seem to connect to…

Cory Swainston
- 103
- 6
0
votes
0 answers
job has been stalled when I locked my Mac. Without lock my macbook pro the localhost nodejs server runs without any error in bull
job has been stalled when I locked my mac localhost node server. without lock my macbook pro the localhost node js server runs without any error in bull queue process when I get large documents records by using mongooose query stream from mongodb…
0
votes
0 answers
Queue Bull package having error in my production env
msgpackr-extract@3.0.0 install /var/www/websites/stpaulalumniapi.cybraintech.com/node_modules/msgpackr-extract
node-gyp-build-optional-packages
make: Entering directory…
0
votes
1 answer
Nodejs Bull Queue gets redis secrets from Azure Key Vault
I am trying to retrieve secrets from an Azure Key Vault. I have this module called retrieveSecrets.js that accepts a secretName to look up the value and return it
const { SecretClient } = require('@azure/keyvault-secrets')
const {
…

nerdherdwa
- 19
- 1
- 5