Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5990793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:17:41+00:00 2026-05-22T23:17:41+00:00

When ASP.NET receives a request, how does it determine whether to serve it or

  • 0

When ASP.NET receives a request, how does it determine whether to serve it or to queue it? I ask because I’m monitoring performance counters on a server and the CPU is not maxed out and there are a boatload of available worker threads, but I’m still seeing up to 200 requests get queued up.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:17:42+00:00Added an answer on May 22, 2026 at 11:17 pm

    I’ve been doing research and I believe I’ve come upon an acceptable answer. My primary source is this article: http://blogs.msdn.com/b/tmarq/archive/2007/07/21/asp-net-thread-usage-on-iis-7-0-and-6-0.aspx

    As I understand there are two main ways the request processing gets throttled. The first is the MaxConcurrentRequestsPerCPU property. Before .NET 4 this was set to 12 by default. In .NET 4 it was changed to 5000. For async requests they wanted to allow a lot, and for synchronous requests they believe that the ASP.NET ThreadPool will throttle synchronous requests well enough. The second of course is the ThreadPool itself. After ASP.NET posts the request there it can decide when it will go.

    If you’re doing async processing, your limiting factors are likely to be CPU, network and disk and not any ASP.NET request throttling. It could possibly hit the MaxConcurrentRequestsPerCPU limit, but that limit is really high.

    If you’re doing synchronous processing and blocking on web calls for long periods of time, it’s much more likely you run into these limits. MaxConcurrentRequestsPerCPU is something to watch out for before .NET 4 but there’s still the ThreadPool.

    Performance testing
    I put together a simple test to see how this throttling worked. I have a simple page with a 500ms Thread.Sleep() call. One host machine makes 800 simultaneous async requests and a worker machine running ASP.NET processes them all. The results were interesting:

    .NET 3.5, no modifications: 46 seconds. Saw 9 worker threads with process explorer.
    .NET 3.5, with MaxConcurrentRequestsPerCPU set to 5000: 46 seconds. 9 worker threads.
    .NET 4: 42 seconds, or 13 seconds when running hot. Saw around 35 worker threads gradually get created.
    .NET 4, async: 3 seconds

    A few observations:

    • MaxConcurrentRequestsPerCPU wasn’t getting hit. It looks like it was the limitation of the ThreadPool itself.
    • .NET 3.5 seems rather reluctant to make new threads to process synchronous requests. .NET 4 does a much better job of ramping up to handle load.
    • Async is still the best by a country mile.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an asp.net page that receives a PUT request with the following form:
I am using ASP.NET MVC 1.0. I have an ActionResult which receives a form
ASP.NET server-side controls postback to their own page. This makes cases where you want
we are using asp.net 2.x, we use session state stored in sql server, 2
Someone (probably a bot) sent a request with the following URL to my ASP.NET
I've recently upgraded a page on our server from classic asp to asp.net The
I have an asp.net MVC server on one side and a silverlight 4 client
We've implemented a background service in our Asp.Net web app that receives messages from
I want to introduce a functionality in my ASP.net website that, whenever a request
I am using ASP.NET MVC2 in Visual Studio 2008. I believe the SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.