HACKER Q&A
📣 prollyjethi

Should Python web frameworks care about ASGI?


Hey Everyone

I am the author of a Python framework called Robyn. Robyn is one of the fastest Python web frameworks with a Rust runtime.

Robyn offers a variety of features designed to enhance your web development experience. However, one topic that has sparked mixed feelings within the community is Robyn's choice of not supporting ASGI. I'd love to hear your thoughts on this. Specifically, what specific features of ASGI do you miss in Robyn?

You can find Robyn's documentation here(https://robyn.tech/documentation). We're aiming for a v1.0 release soon, and your feedback will be invaluable in determining whether introducing ASGI support should be a priority.

Please avoid generic responses like "ASGI is a standard and should be supported." Instead, I request some tangible insights and evidence-based arguments to help me understand the tangible benefits ASGI could bring to Robyn or the lack of a specific ASGI feature that will hinder you from using Robyn.

Looking forward to your input!

Robyn - https://github.com/sparckles/robyn Docs - https://robyn.tech/documentation


  👤 westurner Accepted Answer ✓
If Robyn is not an instrumented SSL terminating load balancer with HTTP/3 support, there must still be an upstream HTTP server that could support ASGI.

ASGI (like WSGI) makes it possible to compose an application with reusable, tested "middleware" because there's an IInterface there.

awesome-asgi: https://github.com/florimondmanca/awesome-asgi

ASGI docs > Implementations: https://asgi.readthedocs.io/en/latest/implementations.html