Re: Re: Using the DHT to find download sources
Michael Rogers <[email protected]>
| Newsgroups | gmane.network.gnutella.devel |
|---|---|
| Message-ID | <[email protected]> |
Arne Babenhauserheide wrote:
>> I agree with "how do you find out before searching that your search
>> will be a rare one?". This is a problem we need to solve. :)
>
> Maybe it would be possible to always do a Gnutella search first, and if that
> generates less than 300 results, fire up a Kad search afterwards.
Another possibility would be to start both searches in parallel. If the
Gnutella search quickly returns a lot of (non-spam) results, discontinue
the Kademlia search. If the Kademlia search quickly returns a lot of
(non-spam) results, ask the UP to cancel the Gnutella search. Otherwise
continue with both searches.
So there's actually no need to know in advance whether the item you're
searching for is popular - you find out during the search.
The Kademlia search will find rare items, so we can probably reduce the
range of the Gnutella search - it only needs to find "nearby" items
("nearby" currently doesn't mean much, just nearby in the Gnutella
overlay, but in future could mean nearby in the social network if we
connect to the same UPs as our friends).
Cheers,
Michael