Description
Write an async deployment guide covering:
- ASGI server configuration (Uvicorn, Daphne, Hypercorn)
- Connection pooling considerations with async (
CONN_MAX_AGE, pgBouncer)
ContextVar propagation semantics across sync_to_async / async_to_sync boundaries
- Interaction between
SET LOCAL (transaction-scoped) and Django's async transaction handling
Why
Async deployment has different failure modes than WSGI. Users need guidance on connection lifecycle, GUC scoping, and which settings combinations are safe.
Roadmap reference
v1.4.0 — Async Support
Description
Write an async deployment guide covering:
CONN_MAX_AGE, pgBouncer)ContextVarpropagation semantics acrosssync_to_async/async_to_syncboundariesSET LOCAL(transaction-scoped) and Django's async transaction handlingWhy
Async deployment has different failure modes than WSGI. Users need guidance on connection lifecycle, GUC scoping, and which settings combinations are safe.
Roadmap reference
v1.4.0 — Async Support