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

  • SEARCH
  • Home
  • 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 6875907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:24:44+00:00 2026-05-27T04:24:44+00:00

My application load asynchronously a big amount of information from a web service and

  • 0

My application load asynchronously a big amount of information from a web service and “Application_Start”.

If an user request wants to use that information, and it is nor ready, the thread will be block with a Monitor.Wait. When the information is ready, the cache object will Monitor.Pulse all waiting threads. This should be fine, since the information takes a dozen of seconds, and the user has to be redirected to the login page, post login information, and be redirected again.

The problem, is that Monitor.Wait will block the CLR ThreadPool thread, and as far as I know if a burst of requests arrives asking for the “big information”, the application could remain block by CLR ThreadPool starvation (I have a little mess with the current IIS/ASP.NET thread gating).

Since the big piece of information comes from a web service that I call asynchronously, I have the IAsyncResult of that operation.

So, Is there a way to tell a CLR ThreadPool Thread “Wait for this IOCP”, so the threadpool thread can start to attend other call?

I have the feeling that this is not well explained, let me know if it is not clear what I am asking.

Regards.

PS: Although the bounty is over, if anybody knows a way to do that I will raise a new one and grant the author.

  • 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-27T04:24:45+00:00Added an answer on May 27, 2026 at 4:24 am

    This is a great question. My experience has been to more you try to interfere with ASP.NET internals the more pain you cause.

    Have you considered using serviceAutoStartProviders to keep your app hot?

    ASP.NET 4.0: How to use application warm-up class

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application that can load plugins through reflection. It currently uses
Problem: We have a web app that calls some web services asynchronously (from the
I have an application the will load usercontrols dynamically depending on the user. You
Do scheduled tasks load the Application.cfc in the same way as web pages? We
To facilitate uploading on our web application we install/load an ActiveX control on the
I have couple resource DLLs that I currently load when application starts using following
I'm programming my first iOS application and I'm trying to asynchronously load images into
I use below code to load image from URL in my winodws phone 7
i am trying to load images from facebook. if a user has set a
I'm writing a web application where I need to pass some user data to

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.