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.
Installation
This guide walks you through installing Platformatic Job Queue and verifying your setup.System Requirements
Before installing, ensure your system meets these requirements:- Node.js 22.19.0 or later - Required for native TypeScript support
- Redis 7+ or Valkey 8+ - Optional, only if using RedisStorage backend
Platformatic Job Queue uses Node.js 22.19+‘s native TypeScript type stripping feature, which provides zero-overhead type safety without a build step for TypeScript files.
Install the Package
Install@platformatic/job-queue using your preferred package manager:
Optional Dependencies
The library includes optional dependencies that are automatically loaded when needed:Redis/Valkey Support
For production deployments using Redis or Valkey storage:Filesystem Storage Support
For single-node deployments using filesystem storage:fast-write-atomic ensures atomic file writes in FileStorage. It’s automatically loaded when you use the filesystem backend.Verify Installation
Verify your installation by creating a simple test file:Project Setup
For a production project, add a build script to yourpackage.json:
package.json
TypeScript Configuration
Create atsconfig.json for TypeScript compilation:
tsconfig.json
Development with Redis
For local development with Redis, you can use Docker:docker-compose.yml
Next Steps
Now that you have Platformatic Job Queue installed, you’re ready to build your first queue:Quick Start Guide
Learn how to create a queue, process jobs, and handle results