Search squid archive

Re: Pipeline and prefetch in squid

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

 



tis 2009-03-31 klockan 11:15 +1300 skrev Amos Jeffries:

> I think pipeline is about pushing multiple separate requests down a 
> single TCP link before the first replies have come back. Increasing the 
> speed of responses, but at cost of error reliability in the later requests.

pipeline_prefetch makes Squid process more than one concurrent request
when the client pipelines requests to Squid. Squid does not pipeline
requests to the server, instead it sends each concurrent request over a
new connection.

Due to some security & technical issues with HTTP over TCP it's not very
likely Squid will pipeline requests in general any time soon.

> Collapsed Forwarding is about merging multiple client requests into a 
> single request and sending only one request. Reply goes to multiple 
> clients.  (Think something like multi-cast stream merging, but for HTTP.)

Correct.

Actually Squid always does this when it knows the reply is cachable. The
difference with collapsed_forwarding enabled is that Squid then assumes
the reply will be cachable until it knows otherwise.

Regards
Henrik


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

  Powered by Linux