Re: [squid-users] "Pipeline" between two caches

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 19 Nov 2005 01:54:28 +0100 (CET)

On Fri, 18 Nov 2005, Pieter De Wit wrote:

> I have two proxy (one remote - both squid). I was wondering if I can
> pipeline the two, or at least get the number of connections between the
> two down. Can they be connected via a single TCP connection ?

No.

There needs to be as many connections as there is concurrent requests
processed and fetched by the child proxy.

You should in theory be able to modify your Squid to serialize all
requests to only fetch a single object at a time, but performance and
reliability of your proxy will plummet way down through the cellar floor.

Sidenote: pipelining between proxies is not a good idea and is strongly
discouraged by the RFCs. There is many reasons to this, where the main
reason is request latency but there is also some security and stability
concerns. There is no way for a proxy to tell how long time it will take
for the parent/servers to process a request, or if the request will at all
be successful.

Regards
Henrik
Received on Fri Nov 18 2005 - 17:54:31 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST