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.
57
u/runew0lf Sep 09 '22
Nobody said it was, the important thing is its non blocking..