[jdev] Presence hiccups

Christopher Zorn christopher.zorn at gmail.com
Thu Oct 2 13:00:56 CDT 2008


On Thu, Oct 2, 2008 at 5:54 AM, Pedro Melo <melo at simplicidade.org> wrote:

> Hi,
>
> On Oct 1, 2008, at 10:13 PM, Adam Pisoni wrote:
>
> > Most xmpp servers we send to send back a 503 if we send a message to a
> > user who is offline.   When we get a 503 we mark that JID as offline
> > so we do not continue sending them messages.  The real issue is gtalk,
> > which supports offline messaging and never tells you whether a JID is
> > offline.   A few of our users have complained that they're still
> > getting messages from us when they're offline, which gtalk them emails
> > them.   I know the rabbiter guys have talked about having the same
> > problems.  What is the best practice as far as how to deal with this.
> > Do you expire resources eventually?    Or probe if a resource hasn't
> > been updated in some amount of time?
>
> I would either presence probe or IQ ping the resource every X hours if
> no activity is detected.
>
> Not pretty, but this is the real world.
>

Ghosts happen. :)

Sadly, this is the solution I use in components too. If you are supporting
multiple resources it is the easiest solution. I have not come up with a
better one for ghosts.



>
> Best regards,
> --
> Pedro Melo
> Blog: http://www.simplicidade.org/notes/
> XMPP ID: melo at simplicidade.org
> Use XMPP!
>
>
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20081002/1c67018b/attachment-0003.htm>


More information about the JDev mailing list