[ejabberd] Handling Groups

Jai Rangi jprangi at gmail.com
Fri Oct 25 10:19:42 MSK 2019


Hello Holger,
I am using MAM. Storing messages is not the issue. Issues is the
performance. Cause sending presence to multiple groups and requesting
messages received during offline is taking time. How that should be
handled.



On Fri, Oct 25, 2019 at 12:05 AM Holger Weiß <holger at zedat.fu-berlin.de>
wrote:

> * Jai Rangi <jprangi at gmail.com> [2019-10-24 12:21]:
> > History attribute in presence seems to solve one problem. We use last
> > message received timestamp to pull all the messages from the group while
> > user was offline.
> >
> > <history since='1970-01-01T00:00:00Z'/>
>
> This relies on the 'traditional' XEP-0045 history feature which was only
> meant to give the user some recent discussion context when joining a
> room.  ejabberd stores this history in memory, so it's gone on server
> restart.  The size of the history is configurable, but always limited.
> That's the reason I recommended against using this feature, and to rely
> on MAM instead.
>
> Holger
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20191025/3bf80937/attachment.html>


More information about the ejabberd mailing list