mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] New source management


From: Joseph
Subject: Re: [Mldonkey-users] New source management
Date: Mon, 23 Dec 2002 17:18:05 +0100

> This number is sorted into the array to the other sources. The first 
> item of the array is being connected maybe every 0.1 seconds. (or 
> whatever this delay is set to). And the array has a max_length. If 
> max_length is reached, the worst rated sources fall out. After a 
> source was connected, it is rated again: If it has needed chunks, the 
> rating is increased (rating=old_rating+2), if the connection fails, 
> it is lowered (e.g. -3), if it has rare chunks it is increased even 
> more (+4) and so on.

so the first source you find will have +4 ... even if it's the most 
popular chunk, even once you have downloaded the chunk. seems to be 
complex for the chunk availability. it would need a dynamic rating 
(does the source still have the chunk i need, is the chunk still rare). 
also, if a source get +4 for a rare file, it doesn't mean it will be 
interesting for a second one
nevertheless, the idea is interesting ...

Jo.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]