[ejabberd] Components, addressing specific connections

Mickaël Rémond mickael.remond at process-one.net
Mon Dec 8 13:12:02 MSK 2008


Hello Arne,

Le 7 déc. 08 à 22:17, Arne Claassen a écrit :

> I've been doing programming against client connections so far and  
> some of my uses are running into issues with rosters, so i thought  
> i'd re-implement as components, but it seems i loose the benefit of  
> routing to a particular connection and can't even broadcast to all  
> connections. Are there configuration options for  ejabberd_service  
> that allow you to defeat round-robin and introduce resource affinity?
>
> I.e. if one connecton sends a message to client and the client  
> responds, is there a way to make sure the response actually gets  
> back to the originator not the next connection in the round robin  
> pool?


You should look into the balancing option. Several algorithms are  
possible that adds stickiness.

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



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


More information about the ejabberd mailing list