On Monday 01 September 2003 02:14 pm, Zlatin Balevsky wrote:
> Suppose I insert two files with the same size but different CHKs at the
> same htl.  Both files will be equally popular (this can be guaranteed).
> I need to get just one of the files and want to do that in a way that
> will be least stressfull to the network.  Which one is the optimal
> solution:
>
> a) request just one of the files at maxHtl
> b) request both files one after the other with maxHtl/2
>
> note: all replies along the lines of "frost is evil" or "ngr will solve
> world hunger" will be ignored ;)

A. If both are guaranteed to exist then A is better. 

If both maxout without finding anything, then you ask the same number of nodes 
ether way.

If the data is close to you, it only has to go through the number of nodes 
between you and it ether way. So having a high htl is only more stressful to 
the network if the data is a long way off. However the data is further away 
than maxHtl/2 then it is fairly likly that the other file is too. Consider 
that ideally the best HTL nodes out of m^HTL get asked. Where m is the 
average number of unique outgoing connections per hop.

The ideal solution would be to select to ether get file A or B baised on which 
is closest to your specialization, or you think you can get the fastest.
_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to