Michael Weibel | 17 Jan 2012 09:05
Picon

Howto loadbalance a jabber server (ejabberd)? (Direct connections & via BOSH)

Hi all,

I'm new to this list. I'm currently doing research on how to properly configure load balancing with ejabberd.

My setup will be as follows:

- Multiple Clusters of Ejabberd nodes connected to each other with s2s federation
- Web-Clients connect either via a Webclient over HTTP-Bind(BOSH) or via Websocket
- Mobile-Clients connect over the "normal" way

This requires to have a load-balancer before each Ejabberd cluster, one for XMPP and one for HTTP.

Does anyone have experience in a similar setup? I'd appreciate any answer.

Best regards,
Michael

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
John W. M. Stevens | 17 Jan 2012 17:33
Picon

Re: Howto loadbalance a jabber server (ejabberd)? (Direct connections & via BOSH)

On 1/17/2012 12:05 AM, Michael Weibel wrote:
> Hi all,
>
> I'm new to this list. I'm currently doing research on how to properly 
> configure load balancing with ejabberd.
>
> My setup will be as follows:
>
> - Multiple Clusters of Ejabberd nodes connected to each other with s2s 
> federation
> - Web-Clients connect either via a Webclient over HTTP-Bind(BOSH) or 
> via Websocket
> - Mobile-Clients connect over the "normal" way
>
> This requires to have a load-balancer before each Ejabberd cluster, 
> one for XMPP and one for HTTP.

Have you considered actual load balancing hardware?

F5 Networks BIG-IP, for example?

http://www.f5.com/products/big-ip/

Luck,
John S.
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Thomas Clavier | 18 Jan 2012 15:27
Gravatar

Re: Howto loadbalance a jabber server (ejabberd)? (Direct connections & via BOSH)

On 17/01/2012 09:05, Michael Weibel wrote:
> This requires to have a load-balancer before each Ejabberd cluster,
> one for XMPP and one for HTTP.

haproxy is a very good solution.

--

-- 
Thomas Clavier                 http://www.tcweb.org
Jabber/XMPP/MSN/Gtalk :        tom <at> jabber.tcweb.org
+33 (0)6 20 81 81 30           +33 (0)950 783 783

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Gmane