Re:Async Python is not faster
by Tronic2 on Sunday June 14, 2020 @06:54AM
(#23516692)
Plain sanic runs much faster than the uvicorn-ASGI-sanic stack used in the benchmark, and the ASGI API in the middle is probably degrading other async frameworks' performance too. But then this benchmark also has other major issues, like using HTTP/1.0 without keep-alive in its Nginx proxy_pass config (keep-alive again has a huge effect on performance, and would be enabled on real performance-critical servers). https://sanic.readthedocs.io/en/latest/sanic/nginx.html
[ Parent
| on HN ]
Interesting, thank you. I wasn't aware nginx was so conservative by default.
https://nginx.org/en/docs/http/ngx_http_proxy_module.html#pr...