On 11/02/11 03:28, Matus UHLAR - fantomas wrote:
On 01/02/11 17:06, Pandu Poluan wrote:
I have 2 questions regarding SQUID peering:
Q1: Should I use ICP or HTCP?
On 01.02.11 19:00, Amos Jeffries wrote:
If you have a choice HTCP.
The packets are slightly bigger than ICP (they contain HTTP headers not
just URLs) but the false-positives are much lower and thus routing
choices are better.
On 09/02/11 22:52, Matus UHLAR - fantomas wrote:
what if we use cache digests?
On 10.02.11 17:22, Amos Jeffries wrote:
Then you are using digests not ICP or HTCP :-P
So, if squid fetched digest from sibling, it won't send ICP nor htcp to it?
CD and ICP certainly work together. I believe CD and HTCP would work as
well.
CD has more false positives than ICP but less lag on the real matches
and and less background bandwidth consumption.
of course. My question now is, if they can benefit of all of those...
Well CD + HTCP if you wanted to.
The lookup queries of HTCP are essentially just ICP with the HTTP
headers attached. So the gains are achieved by the remote peer being
able to determine its yes/no reply in things like the expiry headers,
Vary: and ETag matching or running the cache ACLs on it.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.11
Beta testers wanted for 3.2.0.4