ejabberd - Comments for "Question about an ejabberd cluster" https://www.ejabberd.im/node/628 en Re: Question about an ejabberd cluster https://www.ejabberd.im/node/628#comment-1330 <div class="quote-msg"> <div class="quote-author"><em>_bip_</em> wrote:</div> <p>How does an ejabberd cluster spread users load between nodes?</p></div> <p>ejabberd doesn't spread users. Users themselves connect to a specific node. Nodes never swap or share connections between them. </p> <p>Once both ejabberd nodes are connected, and sharing the relevant Mnesia tables as described in the ejabberd Guide, the user can select to which node to connect (indicating the machine address as 'connect using this host' on the Jabber client. If the Jabber client does not indicate any preference, it will connect to the default host.</p> <div class="quote-msg"> <div class="quote-author"><em>_bip_</em> wrote:</div> <p>Do i need to install additional software(for example, smth like load balancing stuff)?</p></div> <p>If you want load balancing, yes. But it isn't strictly required.</p> Wed, 01 Feb 2006 22:18:11 +0000 mfoss comment 1330 at https://www.ejabberd.im Re: Question about an ejabberd cluster https://www.ejabberd.im/node/628#comment-1321 <div class="quote-msg"> <div class="quote-author"><em>_bip_</em> wrote:</div> <p>Do i need to install additional software(for example, smth like load balancing stuff)? How does an ejabberd cluster spread users load between nodes?<br /> Thanks.</p></div> <p>Yes, you need some load balancing solution. This can be software or hardware. You also can play with DNS SRV Records to do load balancing, but AFAIK no clients implement it, so that's useless.</p> Tue, 31 Jan 2006 21:01:17 +0000 sander comment 1321 at https://www.ejabberd.im