Gnutella Forums

Gnutella Forums (
-   Other GnucDNA Clients (
-   -   Swarming and GnucDNA (

moshiko September 24th, 2009 10:42 AM

Swarming and GnucDNA
I would like to understand more about swarming: how the mechanism works in Gnutella2/its clients. Assume I am searching for a file then I get a list of options. Behind each -displayed- option is exactly 1 peer (am I wrong? At list in Shareaza, I think it is so). But when I am clicking on an option chosen file can be downloaded from more than 1 peer... How this is handled?

Another question is about clients running GnucDNA core: is this handled by the Client S/W or GnucDNA library?

Is there any cooperation between swarming peers at search stage to return only one QH2 representing all the swarm or all peers will return it's own?


OldDeath October 1st, 2009 01:12 PM

If you search for a file (say, you enter a keyword), your client will contact one hub cluster after an other and each hub having hits for this keyword will forward you the IPs with the respective hits.

Then your client combines this data and sorts the files by their hashes. If there is the same hash for two files, they are assumed being identical and your client displays 2 sources for this particular file in the search window.

Once you start a download, all known sources for the file are contacted and from each source can be downloaded different parts of that file. These parts are verified after downloading them and once you have all parts, your download is completed. It doesn't matter whether you got all the parts from one single source or whether you got them all from different sources.

As for clients running the GnucDNA core: the core handles all networking. The application itself provides eventual additional features as well as the graphical GUI.

Yes, there is cooperation between all pears in the swarm. Some of them are called Hubs (// to UPs on gnutella) and they do the coordination. Hubs arrange themselves into Hub groups, so-called clusters. Like this, in order to search the entire network, a client doesn't need to send his search query to all Hubs, but only to all Hub clusters, which reduces the overall load needed to search the entire network. The search itself is completely controlled by the searching client, which means it decides which Hub clusters to connect and when to stop searching etc.

All times are GMT -7. The time now is 01:34 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright 2015 Gnutella Forums.
All Rights Reserved.