[ejabberd] Components, addressing specific connections
mickael.remond at process-one.net
Mon Dec 8 13:12:02 MSK 2008
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
You should look into the balancing option. Several algorithms are
possible that adds stickiness.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd