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 6083603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:25:20+00:00 2026-05-23T11:25:20+00:00

I currently have a web application online which has around 500 users. What i

  • 0

I currently have a web application online which has around 500 users. What i was not expecting was that the web app is performing horrible under such a load. Visiting any page results in minutes of waiting. Basically each user once he uses the web application main feature is invoking a process where i read a few bytes from another web server and then forward that data to the users browser. The page is performing normally until it reaches a certain load of of around 200-300 concurrent download processes as described earlier.

I am using IIS 7.5 and ASP.NET (4). For database access i use LINQ TO SQL. I already tweaked IIS and removed any restrictions like max concurrent per cpu etc. I lost my hope that the IIS configuration is problematic in this case. What i fear is that my code produces such results for IIS or that even such a approach is the main cause of this issue.

Currently it works the following way:

  • User visits EG.aspx

  • EG.aspx uses .NET HTTP Post and GET requests to authorize to another web server.

  • EG.aspx opens a stream to read from the second web server (file download)

  • EG.aspx reads 1024 bytes from the second web server and write those 1024 bytes to the browser

All headers etc. are properly set. I am not invoking any new threads during this process. It’s just a long method performing all those steps. The file downloads are pretty large (around 100MB). During all that time it takes to transfer such a file to the user the page is running the mentioned process. Each user can invoke this process multiple times (download multiple files).

Are the number of streams a issue? Is there any way i could achieve the same results (your web server downloads files and sends it to the client without caching them on disk) with another approach? What would be that approach?

  • 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-23T11:25:21+00:00Added an answer on May 23, 2026 at 11:25 am

    Web servers — especially thick web servers like IIS or Apache — actually max out on concurrent users very quickly. ASP.NET exacerbates this quite a bit due to features. What you need to do is offload this process to happen outside of a the client’s web request to your server somehow. Easiest way to get there would be to use some sort of message bus such as MassTransit or NServiceBus. Then you could make it work like:

    1. User requests EG.ASPX
    2. EG.ASPX creates a message in the service bus and returns a “processing request” page of some sort.
    3. Message bus processes message and downloads file or gets an error or whatever.
    4. User is notified of results somehow — lots of ways to do this — that their file is ready
    5. User visits appropriate page to get their file.

    For notifications, you could handle it a few ways:

    • If it is a pretty short transaction, you could probably have a “please wait” page doing an ajax pingback.
    • If it is longer-running, you might want to email users when it is ready.
    • If you have a user portal page, you could probably work it in there.

    But, bottom line, handling this within your ASP.NET page directly is pretty folly.

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

Sidebar

Related Questions

I have a Java web application that has a 'disconnected' Java Swing desktop app.
I have a web application that currently sends emails. At the time my web
Currently I have an application that receives an uploaded file from my web application.
I have a web application that's branded according to the user that's currently logged
I have a web application that can load plugins through reflection. It currently uses
I'm currently writing a web application that have about 6-12 pages. On each one
Currently I have a web application where a user can use dropdown lists to
Currently we're using Web Application project, so we have a gain with compilation. But
I have VS2005 and I am currently trying to debug an ASP.net web application.
I'm currently working on web application using VB in ASP.NET. Right now I have

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.