On Sat, Nov 08, 2003 at 11:49:51AM -0500, Andrew Rodland wrote:
> Tom Kaitchuck wrote:
> 
> > OK, so I've finally gotten around to looking at the NGrouting source, and
> > I have a few questions. Which are hopefully simple to answer.
> > 
> > First in node/rt/StandardNodeEstimator.java on line 162 ish there is:
> > if (pDNF==0)
> > pDNF = pLegitDNF;
> > Shouldn't this be:
> > if (pDNF<pLegitDNF)
> > pDNF = pLegitDNF;
> > That would seem to make more since, unless 0 indicates something else.
> > 
> What it's supposed to be checking for is the case when we don't have any
> data at all. However, I think your version is better, because we should
> consider any pDNF < pLegitDNF to be suspect, and nudge it up.

Not necessarily. Maybe it's bias put in specifically to make new nodes
get more hits. On the other hand, maybe we should handle that
differently. Proposal:

We initialize the node estimators to something realistic, and not
heavily biased. This may be from data from the seednodes or from the
StoreData Source field, or we may make it up from averages etc.

We have a function E(node), which gives a rough estimate of the
experience level of a node. When it is below some critical threshold, we
randomly fork requests occasionally to that node, as that node won't be
getting much other traffic (the established known good nodes will
therefore get all requests - we don't sacrifice routing efficiency on a
given request in order to test out a new node, we simply start another
request occasionally). Could produce more traffic, but on the other hand
the basic issue with traffic is routing effectiveness, and this might
improve that and therefore thoroughly compensate for the extra traffic
(which we would limit to some sane fraction)...
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to