Skip to content

Release 2026.03.2#66

Merged
andrewyager merged 1 commit intomainfrom
develop
Mar 8, 2026
Merged

Release 2026.03.2#66
andrewyager merged 1 commit intomainfrom
develop

Conversation

@andrewyager
Copy link
Copy Markdown
Member

Summary

  • Performance: Split Gunicorn (HTTP) and Daphne (WebSocket) services in production for improved resource utilization and request handling efficiency

Commits

  • perf: split Gunicorn (HTTP) and Daphne (WebSocket) in production

Daphne wraps every sync view in sync_to_async, adding overhead to all
HTTP requests. Split into Gunicorn for HTTP traffic and Daphne only for
/ws/ paths. Traefik routes by path prefix with priority.

Also fix N+1 query on dashboard draft images by adding Prefetch for
primary_images, and remove shadowed local AssetImage import.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@andrewyager andrewyager merged commit cc58c1b into main Mar 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant