John Dilley wrote:
> > All this is rather static information known when the object is added in
> > the first place isn't it (and probably deduceable from the StoreEntry)?
>
> Not as far as I'm aware. I haven't looked at StoreEntry recently but the
> cost of retrieving the object (msec, effective bw to origin server) was not
> present last time I did.
Well, assuming it is known by Squid of course, which it currently isn't.
> Yes, however be warned that the cost functions I have seen have not been
> particularly stable. You can compute a mean response time, but it is a
> relatively poor predictor of the response time you will get on the next
> request - since that is determined by current server load, network load, and
> so forth. I am not comfortable using such parameters in a replacement policy
> since they are by definition unknown (only a guess). Whereas the size,
> frequency, and time of last request are known by the cache.
I leave that to the person considering to implement such a policy to
consider ;-)
/Henrik
Received on Tue Apr 25 2000 - 00:17:14 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:24 MST