Re: Re: DHT usage and requirement lists
Arne Babenhauserheide <[email protected]> Wed, 6 Aug 2008 22:58:43 +0200
| Newsgroups | gmane.network.gnutella.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch 06 August 2008 22:18:20 schrieb Michael Rogers: > 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. That should only hurt, if people often search for that GUID, or if only few people have the file. And if people are only online for short amounts of time, their GUID and files shouldn't be the DHT for long. Similarly if a file is published by many people, the cap on the number of GUIDs for each file will ensure that the referenced GUIDs are more likely to be online. And the clean shutdown sounds very good to me. A question: Can we somehow increase the storage time for nodes with high uptime without rendering the network vulnerable to attack? Best wishes, Arne -- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :) -- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the history of free software. -- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln. -- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt [Non-text portions of this message have been removed]