All Templates / Queues
BullMQ with BullBoard
A queueing solution with a dashboard to visualize, monitor and retry.
bull-board
ncontiero/fastify-bullmq
Just deployed
Redis
bitnami/redis:7.4.2
Just deployed
/bitnami
bullmq-worker
ncontiero/fastify-bullmq
Just deployed
GitHub: https://github.com/ncontiero/fastify-bullmq
This application uses BullMQ, a Redis-based queueing system, and Bull-Board, a dashboard to monitor and manage these queues, served by a Fastify server. Both services are built using Rslib and managed by PM2.
There are three distinct ways to start the services:
pnpm start
. This is the simplest option for local development.pnpm start:worker
and pnpm start:server
, respectively. This approach offers greater control and is used in this template, but can be easily adapted to your needs.node ./dist/worker.js
for the worker and node ./dist/server.js
for the Fastify server.PM2 also supports Bun. If desired, you can replace the project's package manager with Bun and execute the TypeScript files directly (Bun has native support for TypeScript), eliminating the need for a build. However, be aware that Bun is not fully compatible with Node.js, which may result in execution problems.
Scalability (PM2): Both services support horizontal scaling through the WORKER_INSTANCES
and SERVER_INSTANCES
environment variables. Set these variables to the desired number of instances to increase the processing capacity of the worker and server, respectively. These variables will only take effect if PM2 is being used.
Template Content
Details
Nicolas's Projects
Created on Mar 14, 2025
8 total projects
1 active projects
100% success on recent deploys
TypeScript, JavaScript
Queues
More templates in this category