Limiting bandwidth for non logged in users

Posted by Dasweb, 03-04-2010, 08:16 PM
Could anyone point me in the right direction to achieve something along these lines? I have a streaming video: I would like user A that is not logged in to stream "slower". I would like user B that is logged in to have access to quicker streaming. Thanks!

Posted by FrankLaszlo, 03-04-2010, 09:24 PM
Fairly simple way of doing this would be to setup mod_throttle on 2 separate subdomains. Lets say www.domain.com, and loggedin.domain.com (just examples). www.domain.com would be setup with a slower rate that loggedin.domain.com. Obviously you would setup some kind of session based login for the second subdomain. EDIT: actually, mod_throttle can be setup on a per-directory basis too. so you could just have a /members/ directory with the limit removed.

Posted by MammothVPS, 03-05-2010, 12:57 AM
I'm having trouble seeing how this would work for video streaming - I mean you can't throttle the customer's download speed to below the video's bitrate, or it will keep stalling. Unless the person is particularly patient, they will just leave your site. Or am I missing something?

Posted by SwordfishHostingLtd, 03-05-2010, 11:38 AM
well what you've asked for is how to throttle the download speed of the vidoes so FrankLaszio has suggested a good solution to the issue. You can setup your video to buffer the entire thing or a large chunk of it before streaming. However yes it will stutter a little but then you asked about slower streaming?

Was this answer helpful?

 Print this Article

Also Read

external pop email

Posted by dotflyer, 03-28-2008, 03:19 AMOne of my customer using google apps for his domain. He...

Whats the best for server with SATA raid 1 and SCSI raid 10

Posted by zefefre, 01-14-2008, 12:42 AMSo I've just got a server with 2xSATA raid 1 (OS, cpanel...

Clovertown 5335 vs Nehalem 5504

Posted by Dr_Michael, 04-19-2009, 02:00 PMCan you tell me which CPU architecture is better?...

problem with named

Posted by mohamed200, 09-15-2008, 12:46 PMhello , i have some problem with named when i moved...

your favorite programming language?

Posted by bilalamjad3, 02-20-2010, 02:04 AMtell me. your favorite language. Posted by...