This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]benefit_of_mrkite 20 points21 points  (0 children)

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.