bullmq-patterns

Configure BullMQ queues, workers, and FlowProducer with Redis for job processing.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Inteligentsensingsolutions/tdd-dev-workflow --skill bullmq-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bullmq-patterns
Source: https://github.com/Inteligentsensingsolutions/tdd-dev-workflow/tree/main/skills/bullmq-patterns
Command: npx skills add https://github.com/Inteligentsensingsolutions/tdd-dev-workflow --skill bullmq-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BullMQ patterns solve the complexity of building scalable, reliable, Redis-backed job queues by providing structured models for producers, queues, and workers, along with flow control, retries, and scheduling to reduce boilerplate and ensure robust error handling.

Core Features & Use Cases

  • Standard jobs: enqueue and process regular tasks with configurable concurrency and retries.
  • Delayed and repeatable jobs: schedule one-off and recurring tasks with precise timing.
  • Job flows and dependencies: orchestrate multi-step workflows using FlowProducer and child jobs.
  • Worker patterns: embrace sandboxed processors, graceful shutdown, and concurrency tuning for stability.
  • Error handling & retries: implement backoff strategies, dead-letter queues, and event monitoring.
  • NestJS integration: seamless usage with NestJS BullMQ for dependency injection and processing.
  • Rate limiting & monitoring: throttle external calls and observe queue health and performance.
  • Progress tracking: report progress from workers to external clients or dashboards.

Quick Start

Set up a BullMQ queue and worker for processing sample jobs and demonstrate a retry-enabled workflow.

Frequently Asked Questions about bullmq-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build reliable BullMQ workflows with Redis?

Build reliable BullMQ workflows with Redis by configuring standard, delayed, and repeatable job queues alongside workers. This approach provides structured models for producers and workers, ensuring robust error handling and scalable task processing.

What is the best way to handle delayed and repeatable jobs in NestJS?

Handle delayed and repeatable jobs in NestJS using integrated BullMQ patterns for dependency injection. This method schedules one-off and recurring tasks with precise timing while reducing boilerplate across microservice architectures.

How do I orchestrate multi-step job flows and dependencies using BullMQ?

Orchestrate multi-step job flows and dependencies using BullMQ FlowProducer to manage parent and child jobs. This structure coordinates complex workflows across queues, enabling sequential task execution and progress tracking.

How do I implement error handling and retries in Redis job queues?

Implement error handling and retries in Redis job queues by configuring backoff strategies and dead-letter queues. BullMQ patterns enforce configuration practices like maxRetriesPerRequest to ensure stability during worker failures.

Does BullMQ integration support rate limiting and queue monitoring?

BullMQ integration supports rate limiting and queue monitoring to throttle external calls and observe queue health. Workers report progress to external clients, ensuring performance visibility across microservice architectures.