r/Python • • Nov 30 '22

Resource Async Python is not faster - excellent analysis from Cal Paterson

https://calpaterson.com/async-python-is-not-faster.html
11 Upvotes

18 comments sorted by

View all comments

0

u/[deleted] Dec 01 '22

[deleted]

0

u/BaconSizzler Dec 01 '22 edited Dec 01 '22

If your backend is IO bound by multiple independent database requests, then put them inside a future, of which AsyncIO is a perfectly OK implementation. Parallelizing independent requests reduces latency for the customer.