py-frameworks-bench icon indicating copy to clipboard operation
py-frameworks-bench copied to clipboard

Aiohttp with nginx

Open jorgeecardona opened this issue 2 years ago • 1 comments

The recommended way to deploy aiohttp is with nginx. In the documentation it clearly states that using gunicorn is slower than the recommended nginx solution.

This code runs hapily in my machine, I am unsure if the actions would work propertly.

I am not sure if other frameworks would profit from nginx. Most of them are wsgi/asgi based, aiohttp is not, so maybe is the only one.

jorgeecardona avatar Mar 28 '23 10:03 jorgeecardona

I guess this does not add much actually, I am unsure how many workers are being used by gunicorn anyways. I am happy to make changes, but as it is this might not add much.

jorgeecardona avatar Mar 28 '23 11:03 jorgeecardona