Squid-2.2.RELEASE2: allow-miss cache_peer option

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 14 May 1999 00:36:38 +0200

allow-miss cache peer option disables the use if only-if-cached. It is
intended to be used in conjunction with ipc_hit_stale in tightly coupled
caches to allow better utilisation of refreshes. It will also needed if
someone gets around to implementing real CARP support.

This reminds me of the old question on digests and staleness. What about
(optionally) having digests with all "standard cachable objects", even
those needing to be refreshed? This flag can then control which kind of
digest that gets requested from the peer (standard, or including stale
objects). I think we have an excellent oppurturnity for a new cache
array model there.

Have N caches in one array, each exchanging digests including stale
objects and allowing miss access.

Have clients evenly distributed on the N caches using any distribution
method (DNS round robin, random, hashing or whatever).

Have cache_peer_access rules to prevent looping.

This way each cache can maintain their portion of the total cache, and
they all share the total cache size. This while having a close to zero
latency penalty regardless of the number of members of the array.

no-cache option can be used to control locality of objects. Without
no-cache the most used objects will end up on all caches which improves
latency and recovery of those objects, with no-cache only one copy of
the object will be stored (except for a few races.. where requests
arrives at more than one cache before digests have been exchanged with
those objects).

/Henrik
Received on Tue Jul 29 2003 - 13:15:58 MDT

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