Server side vs client side parallel processing

  softwareengineering

I want to know the best practice for parallel processing. I have a client application in React and a web api service in .NET 6. The input is array of parameters and web service will return result for each item in array. Assume the maximum is 200 items.

  1. Is it ok to use Promise.all to send the requests as batch or single requests.

  2. Or send all parameters to server and process using Task.WhenAll

LEAVE A COMMENT