litestar-saq
OfficialSimplify Litestar background jobs and task queues with SAQ.
Software Engineering#background jobs#scheduled tasks#task queues#litestar#saq#job deduplication#worker processes
Authorlitestar-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Litestar applications lack a first-party, integrated solution for managing background job queues, scheduled tasks, and worker processes, requiring developers to manually configure separate queue infrastructure and handle lifecycle management.
Core Features & Use Cases
- Integrated SAQ Plugin: Provides out-of-the-box
SAQPluginfor Litestar that handles queue registration, worker lifespan management, and dependency injection forTaskQueues. - Flexible Broker Support: Works with Redis for high-throughput workloads and web UI dashboards, or PostgreSQL for durable, SQL-queryable job history and PG-only deployments.
- Advanced Workflow Patterns: Includes a sidecar worker pattern for same-transaction outbox semantics, execution target routing (local/cloudrun/immediate), and real-time job progress updates via Litestar Channels.
- Use Case Example: A SaaS app uses this skill to enqueue email notification tasks, run nightly database cleanup cron jobs, and track long-running report generation progress in real-time for end users.
Quick Start
Use the litestar-saq skill to configure a Redis-backed background job queue with a scheduled cleanup task and a route handler that enqueues email notification jobs.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: litestar-saq Download link: https://github.com/litestar-org/litestar-skills/archive/main.zip#litestar-saq Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.