[jdev] Presence hiccups

Pedro Melo melo at simplicidade.org
Thu Oct 2 04:54:47 CDT 2008


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.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org
Use XMPP!





More information about the JDev mailing list