Re:We have to talk about this Python, Gunicorn, Gevent thing
by obeleh on Sunday March 08, 2020 @03:48AM
(#22516866)
that's because `run_in_executor` doesn't spread CPU usage. All it does is wrap functions in threads so you can call them async. It doesn't create multiple processes so you're still limited to a single core in Python.
https://docs.python.org/3/library/asyncio-eventloop.html#asy...