Jeff Teitel <jeff at teitel.net> writes: > Edgar Friendly wrote: > > > Andrew Rodland writes: > > > > The problem is that this isn't a good thing. Unless the network knows > > to look on your node for some content, or it's coincidentally next to > > some keyspace that your node is authoritative on, that content might > > as well not be in your store. This is the same problem with any kind > > of permenancy for datastores; if the references to the data don't > > correspond to where the data is, the data is useless. > > > I presume there is some algorithm other than date that a node uses to > determine what content to keep and what to discard when its datastore > gets full to allow specialization. (I'm sure there's a doc on the > website describing it, but freenetproject.org is so badly organized I > couldn't find it.) Couldn't this same algorithm be used for importing > data from the cd? Then the node would just be getting more of they > type of data it already specializes in. > Fred keeps its store in a LRU (Least Recently Used) cache. Meaning that the data that was used the longest ago is dumped for new data. So you can't just use that algorithm for deciding what data to import from the CD because none of the data has been used before. As for changing this to try to take into account what the node percieves as its specialization, I will insist on the inherent wrongness of any such procedure and leave it at that.
> When writing data to the cd it might be necessary to use some random > factor in addition to most recent date in order to get more generic > data onto it. That way there's more likely to data of interest to > other nodes on it. > > Jeff > -- > Those who would give up essential liberty, to purchase a little > temporary safety, deserve neither liberty nor safety. -Benjamin Franklin > one could include the most popular data from your node, but BOTWFRW (because of the way freenet routing works), that data is unlikely to be requested of another random node. Thelema -- E-mail: thelema314 at swbell.net Raabu and Piisu GPG 1024D/36352AAB fpr:756D F615 B4F3 BFFC 02C7 84B7 D8D7 6ECE 3635 2AAB _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
