Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Async HttpHandlers can disconnect from the inbound IIS/ASP.NET process thread so effectively you are not tying up the ASP.NET request queue when creating an async handler (or using one of the Async ASP.NET Page mechanisms). This can be useful in very high volume sites that are processing large numbers of requests simultaneously.</p> <p>Async handlers work well for IO bound operations (calling a Web Service, waiting for a SQL Server to run a long query) where your application just waits for a result to come back. However, it won't do much for you if your aysnc task is CPU intensive as the CPU load is not offloaded from the machine. They also don't work so well if your async task takes a long time to run because the request just appears hung. For more interactive UI when an operations takes a while AJAX and polling is the preferred approach - or some other callback mechanism that lets the user know that the task is done (email, or application based notifications).</p> <p>For CPU intensive tasks to offload you have to build an Application Server type architecture where you offload processing to another machine and query for progress or have some other notification mechanism that lets you know of progress and returns the final result.</p> <p>I have some slides and examples for both approaches here (async only for pages, offloaded via custom component provided in samples):</p> <p><a href="http://www.west-wind.com/Weblog/posts/543251.aspx" rel="nofollow noreferrer">http://www.west-wind.com/Weblog/posts/543251.aspx</a> (go towards the bottom of the post "Dealing with Long Running Requests in ASP.NET"</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload