[ejabberd] Multiple clients over a single connection?

Mickaël Rémond mickael.remond at process-one.net
Mon Oct 20 19:36:53 MSD 2008


Hello,

We have some code internally to support that. However note that it is  
not connexion that consume the most memory but session and session  
would still need to be opened (even if you have less TCP connexions).

Le 20 oct. 08 à 01:49, Arne Claassen a écrit :

> I know this might be out of scope for ejabberd and is more general  
> Xmpp, but is there a way to have a single connection represent  
> multiple JIDs at the same time? I mean the stanzas generally have to  
> and from, so is it possible for a single connection to be the  
> endpoint for a number of JIDs and simply send out its messages and  
> replies encoded with the right from?
>
> I have a number of daemons that talk over xmpp as their message bus.  
> Currently a single physical process can handle a number of these  
> daemons, but i currently require a separate connection back to  
> ejabberd for each one. Since it seems like it takes just under 100KB  
> per connection (maybe that's just per presence and less sockets buy  
> me nothing), it would seem there is a lot of ejabberd memory  
> footprint savings that could be realized.
>
> thanks,
> arne
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>

-- 
Mickaël Rémond
  http://www.process-one.net/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20081020/bacfa656/attachment.htm>


More information about the ejabberd mailing list