Erin
Erin

Reputation:

How to Limit Download Speeds from my Website on my IIS Windows Server?

When people download files from my website, I don't want them to be able to download faster than 300KB/sec per file.

Is there anyway to do this? I'm running IIS 6.0 on Windows Server 2003.

Upvotes: 7

Views: 15400

Answers (7)

MeSo2
MeSo2

Reputation: 466

For IIS 10, go to IIS Manager and you will find a your setting under the header

Media Services > Bit Rate Throttling

enter image description here

Upvotes: 0

sean
sean

Reputation: 11624

I just found this but I haven't had time to try it out myself IIS Bit Rate Throttlling

Upvotes: 1

Kev
Kev

Reputation: 119806

You can't limit download speed but you can limit the overall traffic to a particular website:

  1. Open IIS MMC
  2. Select Website
  3. Select Performance tab
  4. Enable 'Bandwidth throttling'

Upvotes: 5

Dave Anderson
Dave Anderson

Reputation: 12294

Within website properties in IIS 6.0 there is a Performance tab and the first setting is Bandwith throttling which allows you to set the maximum bandwidth value in kilobytes per second. It also has this note;

For bandwidth throttling to function, IIS needs to install Windows Packet Scheduler.

I'm guessing using this setting would mean having your downloads on a separate site so you can throttle that but maintain full bandwidth to your normal content.

Upvotes: 0

stevenrcfox
stevenrcfox

Reputation: 1567

I agree with Horcrux (cant vote it as dont have enough rep)

if the file is less than 300KB, then this wont work, but for large files, then adverage over the course of the whole file download will be 300Kbps...

I'm assuming the idea is like a rapidshare idea, premium users will have full speed downloads?

Also, while one thread(user) is waiting for a second, another thread can be downloading.

Queue the downloads, and only let X amount run at the same time, and your away in a hack!

Upvotes: 0

Horcrux7
Horcrux7

Reputation: 24447

Write a script that transfer the data in chunks. After 300KB you wait until 1 seconds is consumed.

Upvotes: 2

Horcrux7
Horcrux7

Reputation: 24447

Reduce the speed of you Internet connection.

Upvotes: -7

Related Questions