3 ms·
Hi, YarickR2. I think if the whole application does not require interacting with other asyncio stuff then it's fine to stick to WSGI. I like ASGI because it al
by ericls 6y ago
Hi, YarickR2. I think if the whole application does not require interacting with other asyncio stuff then it's fine to stick to WSGI.
I like ASGI because it allows us to do some things (including websocket, asynchronous io, etc) much easier. And even it is not compatible with WSGI, it's not hard to wrap around a WSGI application.
The framework built in the post is far from finished or practical, please take a look at Starlette, FastAPI or even Django, etc to know more about the use cases of ASGI.
- Drdrdrq 6y agoFastAPI is awesome. The way it joins data types with input validation and automatic reference docs generation is just great. Not to mention that their own docs are pretty comprehensive. (not affiliated, just a happy user)