Re:ASGI from scratch – Let's build an ASGI web framework
by laactech on Thursday June 25, 2020 @07:18PM
(#23646882)
According to some benchmarks, an ASGI framework will generally perform better than a WSGI framework [1].
Currently, the ASGI ecosystem isn't nearly as mature as the WSGI ecosystem, and for a production system, I would still prefer WSGI for now. Django just got ASGI support in 3.0, but it still has a long way to go to become fully asynchronous [2]. I think Starlette [3] will become a popular ASGI framework, but it's still early in it's development.
Currently, the ASGI ecosystem isn't nearly as mature as the WSGI ecosystem, and for a production system, I would still prefer WSGI for now. Django just got ASGI support in 3.0, but it still has a long way to go to become fully asynchronous [2]. I think Starlette [3] will become a popular ASGI framework, but it's still early in it's development.
[1] https://www.techempower.com/benchmarks/#section=data-r19&hw=...
[2] https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
[3] https://www.starlette.io/