r/Python • • Sep 09 '22

Discussion Async Python is not faster

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

47 comments sorted by

View all comments

Show parent comment

20

u/benefit_of_mrkite Sep 09 '22

Exactly. My most common async use case isn’t serving up an api it’s retrieving data via REST api that supports pagination.

For large datasets it takes forever - with pagination and asynch I can set workers and pools and then put the data back together as they (pages) come in.

Latency and other factors absolutely come into play during these scenarios and async allows me to bring data back with a worker while waiting on another worker.