Hacker News new | ask | show | jobs
by laactech 2181 days ago
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.

[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/