[Standards-JIG] JEP-0124 HTTP Binding - lost messages

Ian Paterson ian.paterson at clientside.co.uk
Wed Jun 30 23:43:38 UTC 2004


A JEP-0124 connection manager may be an independent proxy that makes
multiple connections to the c2s module of an XMPP server. The following
scenario shows how messages may be lost:

The client computer/connection crashes while the connection manager is
processing a request (i.e. waiting for the XMPP server). If the CM receives
a message from the XMPP server before it responds to the client then it
won't be able to send it to the client. If the problem on the client machine
is persistent (or the client is unable to recover the session ID) then the
connection manager will end the session and all messages waiting for
delivery to the client will be lost.

The best solution is NOT for the CM to store the undelivered message, since
the user may never try to reconnect via that CM again (e.g. the user may use
a direct connection instead).

A better solution might be a new protocol that allowed a message to be sent
back to the user's server for offline storage or delivery to another
resource.

All ideas (and flames) welcome.

- Ian




More information about the Standards mailing list