News for hackers. Stuff that matters.
Re:Async Python is not faster by szatkus on Friday June 12, 2020 @10:45AM (#23499726)
CPU can do billions of operations every second. When you have 200ms for every request that overhead is not that large, you're still blocked by I/O.
Re:Async Python is not faster by zzzeek on Friday June 12, 2020 @10:56AM (#23499839)
for local services like databases, real world benchmarks disagree.
Re:Async Python is not faster by szatkus on Friday June 12, 2020 @11:57AM (#23500494)
You should add that you mean just databases. I've just looked at your profile and as I understand it's your focus.

I built a service that was making a lot of requests. Much enough that at some point we've run out of 65k connections limit for basic Linux polling (we needed to switch to kpoll). Some time after that we've ran out of other resources and switching from threads to threads+greenlets really solved our problem.