litestar-granian
OfficialBoost Litestar app performance with Granian ASGI.
Authorlitestar-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Litestar's default uvicorn ASGI server has lower throughput, no native HTTP/2 support, and higher memory usage, creating performance bottlenecks for production applications. This Skill provides a first-party, drop-in replacement with the Granian Rust-based ASGI server to eliminate these limitations.
Core Features & Use Cases
- Drop-in Plugin Integration: Add GranianPlugin to your Litestar app with no major code changes, and the standard
litestar runcommand automatically uses Granian instead of uvicorn. - Production-Grade Performance: Get native HTTP/2 support, higher throughput, and lower memory footprint for Litestar deployments, with full compatibility with Litestar's lifespan, signal handling, and dev-mode reload logic.
- Use Case: Deploy a high-traffic Litestar API that requires HTTP/2 support and low memory usage, tuning worker counts, threading modes, and backpressure limits directly via the familiar
litestar runCLI flags.
Quick Start
Use the litestar-granian skill to add GranianPlugin to your Litestar app and configure production-ready server settings via the standard litestar run CLI.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-granian Download link: https://github.com/litestar-org/litestar-skills/archive/main.zip#litestar-granian 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.