RE: [squid-users] distribute bandwidth usage to several ISP by us ing squid, possible?

From: Chris Robertson <[email protected]>
Date: Fri, 4 Feb 2005 08:58:12 -0900

> -----Original Message-----
> From: Kyle Wong [mailto:kylewong@southa.com]
> Sent: Thursday, February 03, 2005 11:04 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] distribute bandwidth usage to several ISP by using
squid, possible?
>
>
> Hi all, I'm new here, nice to meet you.
>
> Assume I have a website www.bandwidthkilling.com, hosting a ISP A
>
> In order to distribute bandwidth usage to another network / ISP,
> I want to setup a squid cache server located at another ISP B, host name
> cache.bandwidthkilling.com
>
> Then at my website, I change the images linking from:
> <img src=http://www.bandwidthkilling.com/somedir/some_images.jpg>
> to
> <img src=http://cache.bandwidthkilling.com/somedir/some_images.jpg>
>
> Result: when someone access the images using the modified image links,
> cache.bandwidthkilling.com will fetch and cache
> www.bandwidthkilling.com/somedir/some_images.jpg , then return the
requested
> images to visitors.
>
> After that, further request from clients to
> http://cache.bandwidthkilling.com/somedir/some_images.jpg
> will be served by cache.bandwidthkilling.com directly, without touching
> www.bandwidthkilling.com,
> until the cached images are expired.
>
> Is this possible with squid ? If not, anyone know other solutions for my
> need? Thanks.
>
> Regards,
> Kyle

You can either use Squid (in a reverse proxy set up), or the Proxy abilities
of mod_rewrite and mod_proxy in Apache. I have used mod_proxy, but have
never set up a Squid reverse proxy set up, so I can give no advice which is
the "better" choice. On the other hand, Squid IS a dedicated web cache...
Neither method would require changing any of the HTML.

An other option would be to just run a CVS based synchronization (or a
nightly transfer if changes are not too frequent) between the two. *shrug*

Chris
Received on Fri Feb 04 2005 - 10:58:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST