enterprise-infrastructure - Kailash enterprise infrastructure patterns guide
Provides infrastructure patterns for scaling Kailash from single-process SQLite to multi-worker PostgreSQL and MySQL deployments.
Tags
Updated: 2026-09-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Scale infrastructure to multi-worker deployments
- Write dialect-portable SQL queries
- Create stores using StoreFactory
- Process tasks with task queues
- Execute workflows with idempotency guarantees
- Manage worker registration and heartbeats
Inputs
- KAILASH_DATABASE_URL environment variable
- KAILASH_QUEUE_URL environment variable
- DATABASE_URL fallback environment variable
- SQL queries with canonical placeholders
Outputs
- ConnectionManager database connection pool
- Infrastructure store backend instances
- Task queue jobs and status
- Worker registry heartbeat records
- kailash_meta schema versioning table
Requirements
- Python runtime environment
- SQLite database engine
- PostgreSQL or MySQL 8.0+ server
- Optional Redis queue broker
- Database drivers aiosqlite asyncpg aiomysql
