Search squid archive

Fw: RE: cache-peering using sibling relationship

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Zia-ul-Hassan Zia [mailto:zia@xxxxxxxxxxx]
> Sent: Thursday, June 30, 2005 4:45 AM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject:  cache-peering using sibling relationship

> We have three Squid proxies and want to share the cache between them using
> cache_peer option.These three proxies are at the same level (we don't want
> to configure them as parent child relationship). My concerns are.
> 
> 1:- Should I configure all proxies as subling peers 
> cache_peer proxy1.example.com 8080 3130 proxy-only
> cache_peer proxy2.example.com 8080 3130 proxy-only
> cache_peer proxy3.example.com 8080 3130 proxy-only

Yes, otherwise they won't share the cache :)

I also recommend you turning on cache digests on all proxies.

> 2:- Should we need to define an access list(miss_acl) for neighbour peers
> in case of MISSES neighbours can fetch from Internet instead of getting
> the error message.Does that make sense?

No, I don't recommend you doing that. allowing misses meane allowing
fetching of files that are not in cache directory, which is used for child
proxies - siblings should be only allowed to fetch content that is already
in cache. 

> miss_access allow proxy1.example.com
> miss_access allow proxy2.example.com
> miss_access allow proxy2.example.com
> miss_access allow manager
> miss_access deny all

However you should allow fetching misses to your clients/users. Otherwise
they won't be allowed to access pages that are not  already in cache(s).

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Silvester Stallone: Father of the RISC concept.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux