BullMQ Specialist Skill ยท Development

BullMQ Specialist: Redis Job Queues & Async Processing for Developers

Master BullMQ with 10+ job patterns, Redis-backed queues, and reliable async execution in Node.js/TypeScript.

Reduce job failures by 40% with expert configurations.

  • BullMQ
  • Redis
  • Job Queue
  • Async Processing
  • Node.js
  • TypeScript

About This Skill

Master BullMQ with 10 core capabilities including job scheduling, delayed jobs, repeatable jobs, priorities, rate limiting, and worker patterns. This skill covers 4 hosting options, 3 monitoring tools, and 5 production patterns for reliable Redis-backed async execution in Node.js/TypeScript.

Quick Start

  1. 1Install BullMQ and ioredis via npm
  2. 2Create a shared Redis connection with maxRetriesPerRequest: null
  3. 3Define a Queue, Worker, and QueueEvents for your first job
Example Command
npm install bullmq ioredis

Core Capabilities

BullMQ Queues

Production-ready queue setup with proper configuration, shared Redis connections, and job lifecycle management.

Job Scheduling

Schedule delayed jobs, repeatable jobs, and priority-based execution with precise timing controls.

Rate Limiting & Worker Patterns

Implement rate limiting to protect downstream services and apply worker patterns for concurrency control.

Flow Producers & Job Dependencies

Create complex job flows with dependencies, flow producers, and sandboxed processors for reliable orchestration.

Usage Examples

Before

Manual setTimeout with no retry logic, risking job loss on server crash

After

BullMQ delayed job with Redis persistence, automatic retries, and exponential backoff

Input

Create a repeatable job that runs every hour to clean stale data

Output

Repeatable job registered with cron-like schedule and automatic rescheduling

Input

Set up a worker with concurrency limit of 5 to avoid overwhelming an API

Output

Worker processes up to 5 jobs concurrently, queuing the rest

SKILL.md

---
name: bullmq-specialist
description: BullMQ expert for Redis-backed job queues, background processing,
  and reliable async execution in Node.js/TypeScript applications.
risk: none
source: vibeship-spawner-skills (Apache 2.0)
date_added: 2026-02-27
---

# BullMQ Specialist

BullMQ expert for Redis-backed job queues, background processing, and
reliable async execution in Node.js/TypeScript applications.

## Principles

- Jobs are fire-and-forget from the producer side - let the queue handle delivery
- Always set explicit job options - defaults rarely match your use case
- Idempotency is your responsibility - jobs may run more than once
- Backoff strategies prevent thundering herds - exponential beats linear
- Dead letter queues are not optional - failed jobs need a home
- Concurrency limits protect downstream services - start conservative
- Job data should be small - pass IDs, not payloads
- Graceful shutdown prevents orphaned jobs - handle SIGTERM properly

## Capabilities

- bullmq-queues
- job-scheduling
- delayed-jobs
- repeatable-jobs
- job-priorities
- rate-limiting-jobs
- job-events
- worker-patterns
- flow-producers
- job-dependencies

## Scope

- redis-infrastructure -> redis-specialist
- serverless-queues -> upstash-qstash
- workflow-orchestration -> temporal-craftsman
- event-sourcing -> event-architect
- email-delivery -> email-systems

## Tooling

### Core

- bullmq
- ioredis

### Hosting

- upstash
- redis-cloud
- elasticache
- railway

### Monitoring

- bull-board
- arena
- bullmq-pro

### Patterns

- delayed-jobs
- repeatable-jobs
- job-flows
- rate-limiting
- sandboxed-processors

## Patterns

### Basic Queue Setup

Production-ready BullMQ queue with proper configuration

**When to use**: Starting any new queue implementation

import { Queue, Worker, QueueEvents } from 'bullmq';
import IORedis from 'ioredis';

// Shared connection for all queues
const connection = new IORedis(process.env.REDIS_URL, {
  maxRetriesPerRequest: null,  // Required for

Frequently Asked Questions

FAQ

Which tools and hosting platforms are compatible with BullMQ?
BullMQ works with any Redis-compatible service. Recommended hosting includes Upstash, Redis Cloud, ElastiCache, and Railway. For monitoring, use Bull Board, Arena, or BullMQ Pro.
Who is this BullMQ Specialist skill for?
This skill is for Node.js/TypeScript developers who need to implement reliable background job processing, async task queues, or scheduled workflows using Redis-backed queues.
How is BullMQ different from other queue libraries like Bee-Queue or Agenda?
BullMQ offers advanced features like flow producers, job dependencies, sandboxed processors, and built-in rate limiting. It's designed for high-throughput, production-grade systems with better monitoring and error handling.
What programming languages does BullMQ support?
BullMQ is built for Node.js and TypeScript. It uses Redis as the backend, so any language with a Redis client can interact with the queue, but the primary API is JavaScript/TypeScript.
What results can I expect after implementing BullMQ best practices?
You can expect up to 40% fewer job failures, zero job loss during server restarts, predictable execution with rate limiting, and clear visibility into queue health via monitoring tools.

Discussion

Discussion

0 comments
U

Trigger Phrases

Use these phrases to activate this skill in your AI coding assistant:

set up a job queuebackground processing with Redisschedule delayed jobsrate limit job executionmonitor BullMQ queues