I'm not an expert on async views at all but my hunch is it wouldn't do much. I do think async has some pretty interesting applications though on Read the Docs itself in our small proxy that serves docs which are just static files in s3. Currently it's a stripped down Django setup running in separate process from the main RTD app and it mostly sets headers picked up by nginx/sendfile.
Async views alone might not do much, but ASGI support should mean that request handling is async, which might impact the request rate. Django's core is synchronous[1], though, so who knows.
Comments
I wonder how much Django's async views and ASGI support would affect the request rate.
I'm not an expert on async views at all but my hunch is it wouldn't do much. I do think async has some pretty interesting applications though on Read the Docs itself in our small proxy that serves docs which are just static files in s3. Currently it's a stripped down Django setup running in separate process from the main RTD app and it mostly sets headers picked up by nginx/sendfile.
Async views alone might not do much, but ASGI support should mean that request handling is async, which might impact the request rate. Django's core is synchronous[1], though, so who knows.
[1] https://arunrocks.com/a-guide-to-asgi-in-django-30-and-its-p...