Using nestjs/bull for Job and Queue Processing in NestJS

Tadashi Shigeoka ·  Tue, April 20, 2021

I tried using nestjs/bull for Job and Queue processing in NestJS, so I’ll introduce it.

NestJS

Background: Want to Handle Job and Queue Processing in NestJS

First, I read the NestJS official documentation Queues | NestJS - A progressive Node.js framework.

nestjs/bull Sample Code

Next, I read the nestjs/bull sample code to get an implementation image.

Bull Documentation Collection

Here’s the documentation for bull which is used internally by nestjs/bull:

Additional Information: Comparison with Other npm Packages

I decided to adopt bull after looking at the NPMCompare.com - Comparing agenda vs. bull vs. kue vs. node-resque vs. node-schedule page.

That’s all from the Gemba.