On Sunday 19 April 2009 16:38:25 Daniel Cheng wrote: > On Sun, Apr 19, 2009 at 4:05 AM, <toad at freenetproject.org> wrote: > > Author: toad > > Date: 2009-04-18 20:05:16 +0000 (Sat, 18 Apr 2009) > > New Revision: 27020 > > > > Modified: > > ? trunk/freenet/src/freenet/client/async/USKFetcher.java > > Log: > > Subscribe to the next 500 keys via KeyListener > > Wow! > 500 of them, won't this create significant network load?
No, we don't fetch them, we only listen for them. The current code subscribes to 50 keys, and fetches them from the datastore before doing any network fetches. This enables USK queries to find the latest version much faster and with much less network load. Also, it makes USKs work significantly better with ULPRs because the nodes involved know which keys they are listening for and thus will request that they be propagated when they are offered. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090420/a2e5c2bf/attachment.pgp>