[jdev] Suspending and resuming presence

Dave Cridland dave at cridland.net
Sun Sep 24 18:05:41 CDT 2006

On Sat Sep 23 22:50:00 2006, ennova2005-jabber at yahoo.com wrote:
> This depends on whether your client is implemented over a polling 
> architecture ( http) or a longer lived connection (persistent tcp) 
> and whether you modulate your polling frequency based on what kind 
> of messages you are getting ( presence or actual messages)

If you're polling, then that alone will chew through far more battery 
life than living with the presence updates. Well, not strictly true, 
but each HTTP poll would have to cost less than the octets sent in 
TCP ACKs, which would imply a vast number of presence updates between 
each poll.

If that's the problem, then the user has too many friends. ;-)

Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

More information about the JDev mailing list