On Wed, 2007-05-09 at 12:03 +0100, Michael Rogers wrote:

> Would it be possible to dynamically balance the amount of space 
> allocated to the cache and store? Here's what I have in mind: when the 
> cache is below its quota and a key is cached, remove the least recently 
> used key from the store instead of the cache. And vice versa: when the 
> store is below its quota and a key is stored, remove the least recently 
> used key from the cache.

That was what I proposed near the start of this thread.  I would note,
as well, that the store-shrinking code should already exist for cases
when the user reduces the configured size of the store.

Bob

-- 
Bob Ham <rah at bash.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20070509/db78a924/attachment.pgp>

Reply via email to