Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella Development Discussion (https://www.gnutellaforums.com/general-gnutella-development-discussion/)
-   -   Does Gnutella peers need liveness checking? (https://www.gnutellaforums.com/general-gnutella-development-discussion/28976-does-gnutella-peers-need-liveness-checking.html)

caicai October 12th, 2004 09:45 AM

Does Gnutella peers need liveness checking?
 
Hi there,

I wanna know whether Gnutella peers need liveness probing to check their neighbors online or not. If yes, how often is this done? If not, how does a Gnutella peer know that its neighbors are gone?

Thanks.

arne_bab October 13th, 2004 12:54 AM

Gnutella Clients are connected via TCP connections, which are being kept online, and they Ping each otehr from time to time, but only, when they receive no data from their neighbours for some time (which doesn't happen so often :-) )

caicai October 13th, 2004 10:36 AM

thanks. According to the protocol, Ping messages are only used for finding new neighbors. By liveness probling, I mean maybe the peers need to be knowledged if one or all of its neighbors are gone (for example, leaves or fails). Does such liveness checking incur a lot of system overhead?

arne_bab October 13th, 2004 12:48 PM

That is something I can't tell you, as I don't program the code myself. But what I know is that there is a BYE message, which gets used most times, when you close connection.

I don't know what lost connections drain... I know that finding a new host creates quite some overhead, though.

But I assume, you have something in mind, don't you?


All times are GMT -7. The time now is 10:09 PM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.