Re: Cache Digests

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 6 Oct 1998 17:22:37 -0600 (MDT)

On Tue, 6 Oct 1998, Niall Doherty wrote:

> store digest: size: 63797 bytes
> entries: count: 168771 capacity: 102074 util: 165%
> deletion attempts: 0
> bits: per entry: 5 on: 251104 capacity: 510376 util: 49%
> bit-seq: count: 255297 avg.len: 2.00
> added: 86521 rejected: 15553 ( 15.24 %) del-ed: 0
> collisions: on add: 1.48 % on rej: 1.43 %
>
> What values would you think are "normal" or to be expected for
> the on add: ?

Depends on the amount of "new" cachable traffic through your cache.
There is no "normal" value here, I guess.

> What's the rej for ? rejected ?

Yes, rejected. Not all the entries are digested. See storeDigestAdd() and
refreshWhen() for details.

> and the deletion attempts ?
> I thought that you only added to the cache digest and simply
> rebuilt from scratch later ?

Correct. The value should be always zero. This might change in the future.

> BTW, when you are building the digest do you simply add every
> single item in the cache ? or do you look at some of the meta-
> data, e.g. expiry times - i.e. would you add something to the
> digest if it was likely to expire very soon ? I guess "very
> soon" would be related to often you rebuild the local cache
> digest...

Exactly. See above, my previous mail, and storeDigestAdd().

Alex.
Received on Tue Oct 06 1998 - 16:24:09 MDT

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