On Fri, Aug 11, 2006 at 12:08:11AM +0100, Matthew Toseland wrote: > > Specifically: > > Metric M, lower is better. M could be proportion of requests rejected, > or it could be time for a successful request. > > Distance d = routing distance from target to peer.location. > > If peer.M < median.M: > return d > Else > return d * median.M / peer.M
d * peer.M / median.M (so it gets bigger) :) I still wonder whether we should try option 0 though (no load balancing). -- 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/20060811/bf6fd8d7/attachment.pgp>
