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

13,420

Solution 1

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'

Solution 2

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

Solution 3

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

Share:
13,420
latonz
Author by

latonz

Updated on June 12, 2022

Comments

  • latonz
    latonz almost 2 years

    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.

  • Kev
    Kev over 15 years
    That doesn't really throttle the bandwidth. The 300KB chunk will still download at the fastest rate possible. If You multiply that by X users, even with a 1s delay between chunks it isn't going to have the desired effect.
  • Horcrux7
    Horcrux7 over 15 years
    How I understand the question this should limit per user. If I send only 300KB per seconds then in middle there will be only 300KB transfer rate for this user.
  • Kev
    Kev over 15 years
    No what you have is a burst of data at the max available bandwith then a delay then another burst of data at max speed again. This isn't really bandwidth throttling.
  • sinni800
    sinni800 over 13 years
    You will have to make the pause very much smaller, I think, so it goes "fine", like tracing a circle with PI. Beginning it's very edged, and the edges get finer and finer until it looks like a circle.