Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
In my case, I need to list 20 entries per page in the mashup. one of column of the entry need to request data from external system(WMS) using RESTful call. The performance must will be bad if send 20 requests one by one , so I want to send the 20 requests together in parallel and then fill the result when all of the request get finished , the similar mechanism like Promise.all() .
one possible approach may be :
but Is there a more concise solution for the case ?
Regards,
Sean
Solved! Go to Solution.
Hello @seanccc,
Ideally you don't want to do "# of rows parallel requests".
Ideally you do parallel requests which each request data for a chunk of rows -- with the chunk size adjusted based on other constraints.
Hello @seanccc,
Ideally you don't want to do "# of rows parallel requests".
Ideally you do parallel requests which each request data for a chunk of rows -- with the chunk size adjusted based on other constraints.
Hi @seanccc.
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon