On Tue, Aug 22, 2006 at 05:47:20PM +0100, Michael Rogers wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Toseland wrote: > > No, at present we back off if a node rejects a request or times out. We > > reject requests if our ping time is too high, to prevent timeouts. > > OK, so instead of using the average ping time across all peers, should > we subtract our own measurement of the per-peer ping time from the > peer's measurement of the per-peer ping time, *then* average across all > peers, and if the average is large and positive, reject requests?
So we'd be measuring the difference between their processing time and our processing time? > > By subtracting our own measurement from the peer's measurement, the > network round-trip time cancels out, so instead of measuring the network > delay (a poor indicator of load) we're measuring the processing delay. > If our own processing delay is higher than that of most of our peers, we > conclude that we're overloaded. > > Cheers, > Michael -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060822/9a86086b/attachment.pgp>