4 ms·
Usually, it is for syncing products or orders. If the API allows me to query by page number, I can execute all the pages in parallel and complete the job in sec
by QueensGambit 7y ago
Usually, it is for syncing products or orders. If the API allows me to query by page number, I can execute all the pages in parallel and complete the job in seconds. If it is paginated by cursor, I have to do it one by one serially which might take minutes.
Since I run this on serverless compute which has timeout (or browser timeout if user is waiting on it), splitting these sync jobs is needlessly complicated.