How to cap ultra high speed internet visitors to an arbitrary bandwidth speed? e.g. 50mbps max?

Benjamin D.

Well-Known Member
Jan 28, 2016
151
23
68
Canada
cPanel Access Level
Root Administrator
Alright, I'm sorry in advance if I posted in the wrong category, but I've been facing kind of a new issue lately. It has to do with the fact that most servers in North America offer 1gbps uplinks. Back in 2010 this wasn't an issue, since most people were on 30mbps links. But today, in 2022, more and more people have this kind of ultra high speed internet connection at home or in their office and sometimes they're even FASTER than the server (more than 1gbps). The size of documents that we host (e.g. MP4 videos) is now larger than ever before too. What happens now is that very randomly, one fortunate website visitor will use almost all the bandwidth for a few seconds. This causes extremely high latency peaks where virtually all other visitors must stare at a blank, loading page, for a few seconds, sometimes upwards 10 seconds... even if it's only 500KB in size.

Is there a way with WHM/cPanel to mitigate this bandwidth issue where a single visitor can literally use all the server's bandwidth for 10 seconds and cause 100 other visitors to stare a loading page for that long? e.g. would there be a way to cap ultra high speed internet visitors to say 50mbps max?
 
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,431
1,634
363
cPanel Access Level
Root Administrator
Hey there! There isn't a way to limit download or access speed on the cPanel side of things. That might be better handled by an external firewall system, but feel free to make a feature request using the link in my signature and I'll have the ream review it.