How-to guides#
After the Quickstart, use these guides in order:
Define and enqueue — define and enqueue work.
Run workers and Results — run and observe it.
Choose backends and Task events — choose production persistence, execution, and delivery options.
Define and control tasks#
Register task functions and enqueue them through QueueService.
Set retries, timeouts, priority, delay, metadata, and deduplication keys.
Refresh records, wait for terminal state, and inspect results or errors.
Choose whether enqueueing happens before or after the response starts.
Control retries and cooperative cancellation.
Register interval and cron tasks.
Run and operate workers#
Choose placement, tune concurrency, pick up work faster, and recover work whose worker died.
Schedule bounded repair and retention with litestar queues run-maintenance.
Add traces, metrics, logs, and operational status checks.
Choose production options#
Choose task storage, execution placement, and worker wakeups separately.
Publish progress and connect live SSE or WebSocket consumers.
Persist, dispatch, and execute work across Cloud Run services and Jobs.
Run queued work with nothing left running between deliveries.
Route task identifiers through a RabbitMQ 4.3 quorum queue.
Route task identifiers through a manual-commit Kafka consumer group.
Route task identifiers through a Google Cloud pull subscription.