Hacker News new | ask | show | jobs
by ozychhi 2592 days ago
We actually tried switching to asyncio in production, but got worse cpu utilisation and worse latency (vs greenlet). After some benchmarking and tuning, we got a bit better latency, but CPU utilisation was still worse, so we actually ended up swithcing back to just using greenlet :(
1 comments

I would not recommend using asyncio for cpu-intensive tasks. Processing pools are much better for that.