bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.

Author

Install

Hot:6

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-bullmq-specialist&locale=en&source=copy

BullMQ Specialist - Redis Queue and Background Tasks Expert

Skills Overview

A BullMQ Specialist is an expert assistant with extensive production experience in the BullMQ task queue domain, focused on Redis-based background task processing, reliable asynchronous execution, and complex task flow design. Has helped handle production workloads at a billions-scale level.

Use Cases

1. High-Concurrency Background Task Processing

When your Node.js or TypeScript application needs to handle a large number of asynchronous tasks, BullMQ can help you decouple services, smooth traffic spikes, and achieve reliable background task processing. Whether sending emails, generating reports, or handling AI workflows, queues are the cornerstone of scalable applications.

2. Scheduled Tasks and Job Scheduling

Need delayed execution, jobs that repeat on a schedule, or complex task dependencies and priority control? BullMQ provides full scheduling capabilities, supporting precise time control and flexible execution strategies.

3. Production Queue Optimization

If you're struggling with stuck jobs, performance bottlenecks, or queue stability issues, a BullMQ Specialist can help diagnose root causes—most queue problems are fundamentally Redis issues or application design issues—and provide targeted optimization plans.

Core Capabilities

1. Queue Architecture Design and Configuration

Provide production-ready BullMQ queue configuration solutions, including connection pool management, error handling, retry strategies, and dead-letter queue setup, ensuring your task system has high availability and fault tolerance from the outset.

2. Task Flow and Dependency Management

Support complex multi-step task processing using Flow Producers to implement parent-child relationships, handle dependencies and conditional execution between tasks, suitable for scenarios that require orchestrating multiple related jobs.

3. Worker Performance and Monitoring Optimization

Deep analysis of Worker concurrency settings, task execution efficiency, and queue health, offering end-to-end optimization recommendations from code-level changes to Redis-level tuning to help you achieve maximum throughput.

Frequently Asked Questions

What is the difference between BullMQ and Bull? Which should I choose?

BullMQ is the modern successor to Bull, designed for contemporary Node.js versions and TypeScript. Key differences include: better TypeScript support, improved API design, more robust error handling, and utilization of newer Redis features. For new projects, BullMQ is strongly recommended; existing Bull projects can migrate gradually.

How do I handle BullMQ jobs getting stuck?

Jobs getting stuck usually stem from three causes: Redis connection issues, Worker crashes, or blocking job execution logic. Recommendations: 1) enable job timeouts; 2) configure a dead-letter queue to collect failed jobs; 3) use Redis monitoring tools to check connection status; 4) ensure Workers shut down gracefully. Most queue issues are fundamentally Redis configuration or application architecture problems.

How does BullMQ ensure high availability in production?

For production, it is recommended to use Redis Sentinel or Cluster mode for high availability; configure appropriate retry policies and backoff algorithms; enable dead-letter queues and set up alerting and monitoring; size Worker concurrency reasonably to avoid overloading Redis; regularly clean up completed Job data to prevent memory exhaustion. You can collaborate with a Redis Specialist for deeper optimization.