Understanding a dev/production channels/async setup with daphne and uvicorn

For me, WSGI is utterly known. The scaling patterns, the errors, the edge cases. Everything.

ASGI is still young. We’re still learning. Django’s support is still evolving. Unknowns do come up.

For me, I’d still rather keep most work in the known sync WSGI environment, and leverage ASGI where I need it. (I like my sleep.)

Nonetheless I’ve run ASGI only services without big issues, so don’t be put off from doing so.

5 Likes