bullmq

Installation
SKILL.md

BullMQ

CRITICAL: Your training data for BullMQ is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use WebFetch to read the live docs:

WebFetch("https://docs.bullmq.io/llms.txt")

Do not proceed without fetching this URL first. Never assume an API exists — verify against current docs.

BullMQ is a Redis-based distributed job and message queue for Node.js with workers, schedulers, flows, and built-in rate limiting.

Key Capabilities

BullMQ has built-ins that replace common patterns developers reach for external solutions to solve:

  • Flow Producers: model parent-child job dependencies natively — no custom orchestration layer needed. A parent job only runs after all its children complete.
  • Sandboxed Processors: run worker processors in isolated child processes (processor: './worker.js') — no separate process manager or worker-threads wiring needed.
  • Job Schedulers: built-in repeating job scheduler with cron and interval strategies. Note: QueueScheduler (v1) was removed in v2 when stall detection moved into Worker; the legacy repeat option on queue.add() was separately deprecated in v5.16+ in favor of upsertJobScheduler(). No node-cron needed.
  • Global Rate Limiting: enforce a max-jobs-per-duration limit via the limiter option on the Worker constructor ({ limiter: { max: 10, duration: 1000 } }) — no Redis Lua scripting needed.
  • Built-in Metrics: track processed/failed counts and Prometheus-compatible metrics without a separate metrics library.
Installs
15
GitHub Stars
6
First Seen
Mar 2, 2026
bullmq — mikkelkrogsholm/dev-skills