But why async is spending so much CPU if it just waits?
Re:Async Python is not faster
by fraggle222 on Friday June 12, 2020 @11:39AM
(#23500316)
Who knows. The point is, if when not restricted you get a ton of db connections, then any restriction on that almost definitely means you are imposing a bottle neck. The only way this would not be the case is if it was trying to create db connections when it didn't need them, unlikely.
Doesn't this prove that async is waiting for connections when you put a limit on it? The only way async wins is if it is free to hit the db whenever it needs to.