开发者

File mirroring solution for a website

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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜