Bandwidth Splitting

They have: 5,633 posts

Joined: Jan 1970

Hello,

I have a few large video files that I want to host. I have two web hosts with about 50GB/month of transfer each.

Is there a way I can have a link that switches between which host it grabs the file from? Or a random link to two different pages with different links?

Or some other way to split the bandwidth for these files?

I can't just host one file on one server and the other file on the other server because one file is more popular than the other and it doesn't really split the bandwidth very well. Also I would like some type of automatic system rather than moving around the files or links a few times a month.

Thanks for the suggestions,
Alex

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Does your host support PHP? If it does then I'm sure you can make a script which directs to one of the two places randomly. Smiling

They have: 36 posts

Joined: Jun 2003

If you are using apahce you could check out .htaccess and the "rewrite" directives. You can psuedo load balance this way Smiling Much like a php scriptie as suggest above...

HTH..

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Wouldn't it be easier to use Javascript?
I'm sure there's a random function, it would be a bit quick and dirty - but if you haven't got access to the .htaccess or PHP it'll be a lot easier!

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.