We have REST WebService. It makes request to other server, process result and returns it to user.
Is there any benefit to make request to server2 asynchronous?
We have REST WebService. It makes request to other server, process result and returns
Share
Making the request asynchronous would allow for better scalability of the service. Asynchronous calls do not block threads, thus the thread can be used elsewhere while your service waits for a response. IIS only has so many threads to work with, so blocking them to wait for a request to come back is typically not a good idea.