[jdev] Presence - how often?

Michal 'vorner' Vaner vorner at ucw.cz
Thu Dec 11 03:57:13 CST 2008


Hello

On Wed, Dec 10, 2008 at 11:30:39PM -0800, Adi wrote:
> How often should a client send xmpp presence to a server?  I assume most
> XMPP servers usually have a timeout for client idle and the presence should
> be sent at a value that is less than this timeout to be optimal. But if you
> are talking to some third party xmpp server, you wouldnt know their client
> idle timeout setting, so how do we optimize sending presence? -

You definitely do not want to use presence for this connection keepalive
(which is not mandatory part of the protocol anyway, you could have a
server without this timeout at all). Presence would broadcast to all
your contacts and spam them unnecessarily.

With regards

-- 
I never finish anyth

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20081211/a583663d/attachment-0003.pgp>


More information about the JDev mailing list