Re: Cache and Store

Michael Rogers <m.rogers-kecf2yCh/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
Bob Ham wrote:
> What's the difference between the key Cache and the key Store, as
> described on the statistics page?  What are the conditions for the keys
> going into and out of the two stores?

The cache contains the keys most recently inserted or requested via your
node (either locally or by your peers). The store contains the keys most
recently inserted (and requested? not sure) via your node, for which
your node's location is closer to the key than any of your peers'
locations are. So the cache tends to contain data that's popular at the
moment, and the store tends to contain data that's close to your node's
location.

> Also, I understand that the configured store size limit is split exactly
> 50:50 between the two.  This is a problem.  Only a very small percentage
> of the Store is in use, but the Cache is nearing full.

The store takes a lot longer to fill up, but once it's full it should
provide better long-term storage (less redundancy between nodes).

Cheers,
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.