Re: Many instances but one cache.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 24 Jan 2000 22:48:10 +0100

Anar Babayev Tofig ogli wrote:

> The idea is that different clients cause loading of different outgoing
> channels.

That is somewhat doable.

Squid does not as of yet support outgoing interface selection based on
client or load, but it can be "emulated" using two Squid instances. One
caching main instance all the clients are talking to, and a small parent
running only as a proxy without caching. The parent takes care of
setting the outgoing interface to another interface than the default,
and you use cache_peer_access to select which clients to send ther (and
prefer_direct off).

Another option is to rotate the default route between the interfaces at
a fast and stady phase,like every 200ms or whatever half of your median
connection lifetime is.

--
Henrik Nordstrom
Squid hacker
Received on Mon Jan 24 2000 - 20:15:00 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:40 MST