Horrible IHttpAsyncPerformance - 5 Requests/Second

Last post 05-08-2008 6:16 AM by Zhao Ji Ma - MSFT. 1 replies.

Sort Posts:

  • Horrible IHttpAsyncPerformance - 5 Requests/Second

    05-02-2008, 4:57 PM
    • Loading...
    • jjonte
    • Joined on 05-02-2008, 8:51 PM
    • Posts 1

    I'm probably missing something obvious here, but I've run out of ideas.

    I have an Asynchronous Handler that works fine and dandy when there are no delays.  In a load test sample, I was able sustain 600 requests/second during a 5 minute test.  If I add a Thread.Sleep or even a Database call and do a WAIT FOR delay of 2 seconds, where the async processing is supposed to occur, my requests/second plummets to 5/second.

     I am using the VS2008 load testing tool with a simulation of 25 users and a sample rate of 5 seconds.

     

    What am i missing?  does the performance really go down by 100x when introducing some kind of delay?

     

    thanks for any help!!

     

    -josh
     

    Filed under: ,
  • Re: Horrible IHttpAsyncPerformance - 5 Requests/Second

    05-08-2008, 6:16 AM
    Answer

    Hi Josh,

    There is a limit of the number of worker and IO threads in ASP.NET. If many pages take too long time to execute concurrently, it might cause performance issue when the new request incomes.  The worker thread and IO thread number configured in the ASP.NET; you can see the settings especially those listed bellow from here.

    •    maxWorkerThreads
    •    minWorkerThreads
    •    maxIoThreads
    •    minFreeThreads

     

    Besides, Performance Monitor can help you troubleshooting performance issue of ASP.NET web application. You can find out CPU, disk, and memory usage information as well as others, performance of ASP.NET degrades when certain resource of the system reaches its limitation.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)