Hacker News new | ask | show | jobs
by obeleh 2299 days ago
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.
1 comments

See example 3 in link above