[ejabberd] Components, addressing specific connections

Mickaël Rémond mickael.remond at process-one.net
Thu Dec 11 20:25:44 MSK 2008

Hello Arne,

It is documented in ejabberd doc: Service Load-Balancing

Le 8 déc. 08 à 18:05, Arne Claassen a écrit :

> Mickaël,
> Is there a place where these balancing options and other arguments  
> are documented, or do i need to go to source code? I googled around  
> and wasn't able to track anything down. Regarding your twitter reply  
> on the same subject (i'm sdether), I know it's not an ejabberd  
> issue, but just that the spec really doesn't say anything about what  
> the behavior should be, which is why I hoped that ejabberd's  
> implementation had different config options to deal with affinity,  
> balancing, etc. and it sounds like it does, i just haven't figured  
> it out yet.
> thanks,
> arne
> On Dec 8, 2008, at 2:12 AM, Mickaël Rémond wrote:
>> 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/
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

Mickaël Rémond

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

More information about the ejabberd mailing list