Re: Re: DHT usage and requirement lists

Michael Rogers <[email protected]> Wed, 06 Aug 2008 21:18:20 +0100
Newsgroups gmane.network.gnutella.devel
Message-ID <[email protected]>
Bill Pringlemeir wrote:
> The rational would be that a two tiered lookup of GUID to IP:port
> would simplify ip changes which can happen frequently.  It would also
> be  possible for a clean shutdown to mark the GUID as offline.  This
> would save running through an entire library to update results.

True, but the downside is that many of the GUIDs stored under a given
key will refer to offline peers, and the searcher can't tell which ones
are stale without doing a GUID->IP:port lookup. So it gets quite
expensive for searchers, especially if peers typically spend a lot of
time offline.

Cheers,
Michael