![]() |
have a question i read from the Gnutella 0.6 2.2.7.2that: A servant SHOULD not send more than one automatic query per hour. if i have a sequent query which means i search more different kinds of things during a short period(may by 2 minutes),what should the client do? Can it query one request until one hour has passed since the former request have sent ?? |
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. |
Thx |
All times are GMT -7. The time now is 12:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.