View Single Post
  #2 (permalink)  
Old December 9th, 2005
Hyper-kun Hyper-kun is offline
flame-retardant
 
Join Date: November 22nd, 2005
Posts: 196
Hyper-kun is a great assister to others; your light through the dark tunnel
Default

First of all, your question fits better into the

"General Gnutella Development Discussion" forum: http://gnutellaforums.com/forumdispl...?s=&forumid=42

Automagic queries are a delicate topic. For example, LimeWire has mostly outlawed them. At low rate they probably don't cause much harm but in general they will be wasting a lot of network resources.

Also keep in mind that the Gnutella specifications (http://www.the-gdf.org/) are not written very well in some parts and others are simply aged and do not completely describe current practice. That means don't take exact given values to seriously, for example, this "one hour rule" was really just made up somewhen. Nobody really knows what's an acceptable delay and it may actually change over time due to network growth or protocol changes.

Maybe you also missed that this sentence refers solely to "automatic queries" that are created by the software itself e.g., starting a search for the filename or the urn:sha1 if it runs out of sources for a file. As the software could easily go haywire if there are many downloads and subtle bug, you have to be extremely careful with such automatisms.

However, for normal queries as manually entered by a user, there's no such rule. Then again, LimeWire believes it's bad for the network as a whole if everybody re-issues queries automatically - no matter what delay you choose.

If the users enters 10 searches within a minute, you don't have to artificially delay them. Of course if you flood a peer with queries it may decide to cut you off or just discard them.

You should also read http://www.the-gdf.org/wiki/index.ph...namic_Querying

This is only implemented by Ultrapeers, so if your peer handles only leaf mode for now, you don't have to handle this.
Reply With Quote