Forum Moderators: phranque

Message Too Old, No Replies

Restricting download speed: how-to?

Best way to go about it?

         

pashley

1:56 am on May 19, 2007 (gmt 0)

10+ Year Member



I'll be brief:
I have a file library site. I would like to offer free and paid memberships. Free members get a slower DL speeds, paid members get regular DL speeds.

How to do this? I'm working on the Joomla platform.

vincevincevince

2:46 am on May 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are three ways I know of:

1) To deliver downloads on-the-fly - read them in using a loop from a local file and then print that loop content as it goes. If you are giving a low download speed then just add in some sleep() commands within the loop at appropriate points to slow it down.

2) To use a slower server for slower downloads - this option may make the most real sense - get hold of a cheap hosting account with unmetered bandwidth and use that.

3) Apache can be configured to limit the rate, but I've not done it before.

pashley

4:19 pm on May 19, 2007 (gmt 0)

10+ Year Member



Thanks, Vince, but I'm confused with how you would do that with a member signing in?

Are there other ways to do it, mechanically, so to speak? Such as two servers?