Asynchronous API calls taking 2x or 3x longer than synchronous API calls?
I am trying to load a lot of objects into a tableview. Naturally, I used pageSize and offset to load all of the data in chunks, so as to make it seem more bearable to the user. I am making the API calls asynchronously and recursively calling the method that queries for the data, but it is taking a VERY long time. When I try the same query synchronously, it is 2 or 3 times faster, but I am unable to reload the table view in the recursive call that loads the data. My question is two fold:
1. Why do the asynchronous calls take so much longer (is that normal)?
2. What is the best way to load a lot of data into a table view (or collection view) using pageSize and offset (and not taking forever!)?
Thank you for your support, it will be very much appreciated.