Workers
A look at workers management and lifecycle.
Introduction
Workers are the core execution engines in Apalis that process tasks from your chosen backend
Read more
Worker lifecycle
Learn how to run apalis workers without using the Monitor, suitable for scenarios where flexibility and manual control are required.
Read more
Middleware
Apalis workers are powered by composable middleware layers. This allows you to extend, control, and observe job execution without modifying your core business logic.
Read more
Order of Middleware
Middleware in Apalis wraps the task handler as a Tower service stack. The order layers are declared on `WorkerBuilder` determines which middleware sees a task first — and getting it wrong produces subtle, hard-to-debug behaviour.
Read more
Monitoring
Learn how to use the Monitor to oversee task execution in apalis, with support for event handling, restart policies, and graceful shutdown.
Read more