[jdev] XEP-0199 (XMPP Ping) to test reliability

Peter Saint-Andre stpeter at stpeter.im
Wed Jan 23 09:22:53 CST 2008


Dave Cridland wrote:
> ...  there's no need to send
> XEP-0199 every minute - instead, use it when you suspect the link is 
> down. This might be because of long term inactivity, and/or because 
> you're sending (real) traffic and getting no response. (Obviously <iq/> 
> stanzas emit a response, but normally people answer <message/> stanzas 
> too.).

Right. IMHO it's a bad practice to send a ping every 60 seconds when you 
have plenty of incoming traffic (I watch the XML Console in Psi and I 
can tell you that my session is never idle for 1 second, let alone 60!). 
You're just adding noise to the signal at that point.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20080123/4edf03a6/attachment-0002.bin>


More information about the JDev mailing list