Skip to content

Commit

Permalink
Update using-asynchronous-methods-in-aspnet-45.md (dotnet#546)
Browse files Browse the repository at this point in the history
Changed a 'has' to 'have', regarding grammar. No biggie, just doing my bit making this grammar impeccable :)
  • Loading branch information
nlon982 authored Sep 1, 2021
1 parent af5e62b commit 0d3c263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This might not be a problem, because the thread pool can be made large enough to

## Processing Asynchronous Requests

In web applications that see a large number of concurrent requests at start-up or has a bursty load (where concurrency increases suddenly), making web service calls asynchronous will increase the responsiveness of your application. An asynchronous request takes the same amount of time to process as a synchronous request. For example, if a request makes a web service call that requires two seconds to complete, the request takes two seconds whether it is performed synchronously or asynchronously. However, during an asynchronous call, a thread is not blocked from responding to other requests while it waits for the first request to complete. Therefore, asynchronous requests prevent request queuing and thread pool growth when there are many concurrent requests that invoke long-running operations.
In web applications that see a large number of concurrent requests at start-up or have a bursty load (where concurrency increases suddenly), making web service calls asynchronous will increase the responsiveness of your application. An asynchronous request takes the same amount of time to process as a synchronous request. For example, if a request makes a web service call that requires two seconds to complete, the request takes two seconds whether it is performed synchronously or asynchronously. However, during an asynchronous call, a thread is not blocked from responding to other requests while it waits for the first request to complete. Therefore, asynchronous requests prevent request queuing and thread pool growth when there are many concurrent requests that invoke long-running operations.

## <a id="ChoosingSyncVasync"></a> Choosing Synchronous or Asynchronous Methods

Expand Down

0 comments on commit 0d3c263

Please sign in to comment.