commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl>
Subject Re: correct estimate of the disk cache size
Date Tue, 14 Oct 2014 16:49:25 GMT
On 09.10.14 17:43, arnout cator wrote:
> jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=250

That's the key here.

In general, you would expect the cache size that you calculated.
However, considering the way the disk cache works, this is only true if
your data objects are of exactly the same size (which is very
improbable). So if a new data object is somewhat bigger than the
previously expired one, the cache will append to the cache file and the
file will grow.

If you want to have better control over your disk usage, I'd recommend
to test the BlockDiskCache. It may fit your use case better.

Bye, Thomas.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message