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:
- Open IIS MMC
- Select Website
- Select Performance tab
- 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
Author by
latonz
Updated on June 12, 2022Comments
-
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 over 15 yearsThat 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 over 15 yearsHow 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 over 15 yearsNo 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 over 13 yearsYou 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.