bullmq

BullMQ - Premium Message Queue for NodeJS based on Redis

Github stars Tracking Chart

🛠 Tutorials

You can find tutorials and news in this blog: https://blog.taskforce.sh/

Official FrontEnd

Supercharge your queues with a profesional front end:

  • Get a complete overview of all your queues.
  • Inspect jobs, search, retry, or promote delayed jobs.
  • Metrics and statistics.
  • and many more features.

Sign up at Taskforce.sh

The gist

Install:

$ yarn add bullmq

Add jobs to the queue:

import { Queue } from 'bullmq';

const queue = new Queue('Paint');

queue.add('cars', { color: 'blue' });

Process the jobs in your workers:

import { Worker } from 'bullmq';

const worker = new Worker('Paint', async job => {
  if (job.name === 'cars') {
    await paintCar(job.data.color);
  }
});

Listen to jobs for completion:

import { QueueEvents } from 'bullmq';

const queueEvents = new QueueEvents('Paint');

queueEvents.on('completed', jobId => {
  console.log('done painting');
});

queueEvents.on('failed', (jobId, err) => {
  console.error('error painting', err);
});

This is just scratching the surface, check all the features and more in the official documentation

🚀 Sponsor 🚀

RedisGreen

If you need high quality production Redis instances for your BullMQ project, please consider subscribing
to RedisGreen,
leaders in Redis hosting that works perfectly with BullMQ. Use the promo code "BULLMQ" when signing up to help us
sponsor the development of BullMQ!

Thanks

Thanks for all the contributors that made this library possible,
also a special mention to Leon van Kammen that kindly donated
his npm bullmq repo.

Main metrics

Overview
Name With Ownerimagej/ImageJ
Primary LanguageJava
Program languageJavaScript (Language Count: 4)
Platform
License:Other
所有者活动
Created At2011-08-01 12:29:11
Pushed At2025-06-12 16:28:33
Last Commit At2025-06-12 11:26:24
Release Count349
Last Release Namev1.54p (Posted on )
First Release Namev1.20 (Posted on )
用户参与
Stargazers Count658
Watchers Count49
Fork Count233
Commits Count2.6k
Has Issues Enabled
Issues Count196
Issue Open Count69
Pull Requests Count0
Pull Requests Open Count6
Pull Requests Close Count69
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private