How to control Bandwidth - Please kindly advise

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hi,

Does anyone knows of anyway to control network bandwidth based on per
session with the web server? We have a ASP.NET application that does upload
of files and it really consume all the network bandwidth and we wanted to
control it. I know I can set bandwidth throttling on the IIS web site but
it will affect all other web applications.

Thanks in advance for any kind advice,
Alex
 
Hi, Alex,

If this is of any help to you, on IIS6 (Windows 2003) you can set the limit
per website. Enable/disable it and set a different value for each web site,
that is.

Greetings
Martin
 
Does anyone knows of anyway to control network bandwidth based on per
session with the web server? We have a ASP.NET application that does upload
of files and it really consume all the network bandwidth and we wanted to
control it.

It's just a matter of maintaining session state. Specifically..
- Store the running tab of the HTTP Response byte count in a cookie or a
database temp table.
- Do any initialization and cleanup, as necessary with the Session start &
end events contained in the Global.asax.cs.
- You may need to restructure your web pages or service to drop in code that
enumerates the Response byte count.
I know I can set bandwidth throttling on the IIS web site but it will
affect all other web applications.

Of course if you can have a dedicated service for the application that would
help greatly, sparring you the need to do the above plumbing/heavy lifting
work. You need to have loaded a memory resident program (mrp) to monitor
such activity. In Microsoft parlance it is referred to as a Windows
Service. As another poster alluded to IIS 6/Windows Server 2003 is one
example of a mrp/Windows Service that can administer such web traffic
activity.

If you are using an earlier version of IIS, you could write your own
monitoring Windows Service using the .NET framework.

Good luck.
 
Hi Peter,

Thanks for the information. Do you still have the post that you mentioned?
I don't seem to be able to find it.

Thanks,
Alex
 
Thanks for the information. Do you still have the post that you
mentioned?
I don't seem to be able to find it.

Sorry, I don't, but it basically in a nutshell it's this: with IIS6
(Microsoft Server 2003), you can configure such bandwidth limits.

Here's a good Windows Server System Magazine article that highlights all the
new features of IIS:
http://www.ftponline.com/wss/

type in the following locator code to access the article: WS0403DR_T
(fwiw, it's the cover story of the March 04 issue)
 
Back
Top