Repository navigation
docs: plan a winter.wsgi adapter next to winter.asgi - #342
Merged
Merged
Conversation
Leaving Django needs Winter's own HTTP host, and WSGI is enough for that: the handlers are synchronous. ASGI stays planned for when async handlers, WebSockets or streaming are needed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andrey-berenda
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The architecture document planned only
winter.asgias the HTTP adapter besides Django. That bundled two separate goals: leaving Django and moving to async.Leaving Django needs Winter's own HTTP host, and WSGI is enough for it. Winter handlers are synchronous, and
winter.web.handle_requestno longer depends on Django, so a WSGI adapter is small and keeps gunicorn and the current concurrency model. A WSGI host in front of Django can then take over services one URL prefix at a time.winter.asgistays planned for when async handlers, WebSockets or streaming are actually needed. Adapters are independent, so adding it later does not touch handlers.Changes:
winter.wsgiis added as a planned (dashed) adapter in the diagram, the layer table and the current deviations.🤖 Generated with Claude Code