Documentation Index
Fetch the complete documentation index at: https://mintlify.com/platformatic/job-queue/llms.txt
Use this file to discover all available pages before exploring further.
Reliable Job Queue for Node.js
Build scalable background processing with deduplication, request/response patterns, and pluggable storage. Production-ready with TypeScript support.
Quick start
Get your first job queue running in minutes
Create a queue with storage
Choose a storage backend. For development, use For production, use
MemoryStorage:RedisStorage for distributed workloads:Key features
Everything you need for production-grade background processing
Job deduplication
Prevent duplicate job processing with configurable result caching
Request/Response
Enqueue jobs and wait for results with
enqueueAndWait()Multiple storage backends
Redis/Valkey for distributed systems, filesystem for single-node, or in-memory for testing
Automatic retries
Configurable retry attempts with exponential backoff for failed jobs
Stalled job recovery
Reaper automatically recovers jobs from crashed workers
Graceful shutdown
Complete in-flight jobs before stopping for zero data loss
TypeScript native
Full type safety with generic payload and result types
Leader election
High availability with automatic failover for Reaper instances
Explore by topic
Deep dive into core concepts and advanced patterns
Queue
Understand the Queue class and configuration options
Storage backends
Compare MemoryStorage, RedisStorage, and FileStorage
Producer/Consumer
Separate job enqueuers from workers for scalability
Error handling
Handle job failures with typed errors and retries
Custom serialization
Use MessagePack or custom formats for job payloads
Reaper
Recover stalled jobs and ensure reliability
Ready to build?
Start processing background jobs with confidence. Check out the quickstart guide or explore the full API reference.