> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/taskforcesh/bullmq/llms.txt
> Use this file to discover all available pages before exploring further.

# BullMQ - Premium Message Queue for Node.js

> Fast, reliable Redis-based distributed queue for Node.js with support for multiple languages

<div className="relative overflow-hidden rounded-lg border border-white/10 bg-gradient-to-br from-purple-900/20 to-indigo-900/20 p-8 shadow-2xl">
  <div className="relative z-10">
    <h1 className="mb-4 text-5xl font-bold text-white">BullMQ</h1>

    <p className="mb-8 text-xl text-gray-200">
      The fastest, most reliable Redis-based distributed queue for Node.js. Carefully written for rock solid stability and atomicity.
    </p>

    <div className="flex gap-4">
      <a href="/quick-start" className="rounded bg-purple-700 px-6 py-3 font-semibold text-white transition hover:bg-purple-600">
        Get Started
      </a>

      <a href="https://github.com/taskforcesh/bullmq" className="rounded border border-white/20 bg-transparent px-6 py-3 font-semibold text-white transition hover:bg-white/10">
        View on GitHub
      </a>
    </div>
  </div>
</div>

## Why BullMQ?

BullMQ is a Node.js library that implements a fast and robust queue system built on top of Redis. It helps resolve many modern microservices architecture challenges with exactly-once queue semantics, horizontal scalability, and high performance.

<CardGroup cols={2}>
  <Card title="Lightning Fast" icon="bolt">
    Optimized Redis scripts and pipelining deliver maximum throughput with minimal CPU usage
  </Card>

  <Card title="Rock Solid Reliability" icon="shield">
    Exactly-once delivery semantics with automatic recovery from process crashes
  </Card>

  <Card title="Horizontally Scalable" icon="arrows-left-right">
    Add more workers to process jobs in parallel across multiple servers
  </Card>

  <Card title="Multi-Language" icon="globe">
    Native support for Node.js, Python, Elixir, and PHP implementations
  </Card>
</CardGroup>

## Key Features

<CardGroup cols={3}>
  <Card title="Job Scheduling" icon="clock" href="/jobs/delayed">
    Schedule jobs for future execution or set up repeatable jobs with cron patterns
  </Card>

  <Card title="Flow Control" icon="diagram-project" href="/flows/overview">
    Create complex job dependencies with parent-child relationships
  </Card>

  <Card title="Rate Limiting" icon="gauge" href="/advanced/rate-limiting">
    Control job processing rates to prevent overwhelming downstream services
  </Card>

  <Card title="Job Priorities" icon="arrow-up-1-9" href="/jobs/prioritized">
    Process important jobs first with flexible priority levels
  </Card>

  <Card title="Retries & Backoff" icon="rotate-right" href="/jobs/retrying">
    Automatic retry logic with exponential backoff strategies
  </Card>

  <Card title="Metrics & Telemetry" icon="chart-line" href="/advanced/metrics">
    Built-in metrics and OpenTelemetry support for monitoring
  </Card>
</CardGroup>

## Quick Example

Get started with BullMQ in just a few lines of code:

<CodeGroup>
  ```typescript Producer theme={null}
  import { Queue } from 'bullmq';

  const queue = new Queue('image-processing');

  // Add a job to the queue
  await queue.add('resize', {
    imagePath: '/path/to/image.jpg',
    width: 800,
    height: 600
  });
  ```

  ```typescript Worker theme={null}
  import { Worker } from 'bullmq';

  const worker = new Worker('image-processing', async job => {
    if (job.name === 'resize') {
      // Process the image resize job
      await resizeImage(job.data);
    }
  });
  ```
</CodeGroup>

## Trusted by Leading Companies

BullMQ is used by organizations around the world, including Microsoft, Vendure, Datawrapper, NestJS, Langfuse, and many more.

## Get Started

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quick-start">
    Get up and running with BullMQ in under 5 minutes
  </Card>

  <Card title="Core Concepts" icon="book" href="/concepts/queues">
    Learn about queues, workers, jobs, and events
  </Card>

  <Card title="API Reference" icon="code" href="/api/queue">
    Explore the complete API documentation
  </Card>

  <Card title="Patterns & Best Practices" icon="lightbulb" href="/patterns/idempotent-jobs">
    Learn proven patterns for production use
  </Card>
</CardGroup>
