SharpAffair
SharpAffair

Reputation: 5478

File mirroring solution for a website

Our website is currently experiencing high volume download traffic. It will soon exceed the bandwidth limit. What's the most convenient way to mirror a software package? We also need to maintain existing URL of the package.

Upvotes: 0

Views: 143

Answers (2)

SharpAffair
SharpAffair

Reputation: 5478

I've registered for Amazon S3 service, uploaded the package using S3 Firefox Organizer plug-in, and setup a file redirection using .htaccess. That worked perfectly.

Upvotes: 0

cletus
cletus

Reputation: 625097

Hopefully your website and your downloads are on two different virtual (if not actual) hosts like:

  • www.example.com; and
  • downloads.example.com.

If bandwidth is the problem then the easiest solution is to put the downloads on several different machines, each on a different WAN and then load-balance them by using multiple DNS A records so different clients will go to different machines. See HOWTO - Configure Load Balancing.

I'd be surprised if bandwidth really was a problem however considering how cheap it is unless you've got some other constraint. Typically the Web servers themselves are the problem, in which case reverse proxies (eg HAProxy) are the usual answer

Upvotes: 2

Related Questions