What does BullMQ Redis-Based Message Queue and Job Processor for Node.js do?
BullMQ is the fastest, most reliable Redis-based distributed queue for Node.js, Python, Elixir, and PHP. It provides priority queues, rate limiting, delayed jobs, parent-child dependencies, repeatable jobs, and sandboxed workers for background processing at scale.
Installation
Use the upstream install or setup path that matches your environment:
- $ yarn add bullmq
Requirements and caveats from upstream:
- The fastest, most reliable, Redis-based distributed queue for Node.
- Do you need to work with BullMQ on platforms other than Node.js? If so, check out the BullMQ Proxy
Basic usage or getting-started notes:
-
Add jobs to the queue:
-
ts
-
import { Queue } from 'bullmq';
-
Extracted from upstream docs: https://raw.githubusercontent.com/taskforcesh/bullmq/HEAD/README.md