Workers
Reviewedbyfl
Markdown ↓⚙️
Quietly handling the heavy lifting.
Worker jobs let you run long-running background tasks continuously on fortrabbit. Ideal for image processing, API communication, and data aggregation.
About workers
A worker job is a long-running background task that executes continuously without scheduling, isolated in a container separate from your application's frontend and backend processes. Workers are available with the jobs component, managed through the dashboard, and provide a way to run software, scripts, or executables persistently in the background. Unlike crons, which offer scheduled execution at intervals, worker jobs run non-stop.
Worker jobs use cases
Common applications for worker jobs include background processing tasks that run continuously without user interaction. Typical use cases include image processing, API communication, and metadata aggregation.
- Image processing
- API communication
- Metadata aggregation
Workers and deployments
When you deploy a new version of your application, all running worker jobs are automatically restarted to ensure they execute the latest code. Each successful deployment restarts all active workers, guaranteeing your background tasks use the most recent application logic.