Discussion:
[jadmin] Howto loadbalance a jabber server (ejabberd)? (Direct connections & via BOSH)
Michael Weibel
2012-01-17 08:05:34 UTC
Permalink
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20120117/753dd05f/attachment.htm>
John W. M. Stevens
2012-01-17 16:33:05 UTC
Permalink
Post by Michael Weibel
Hi all,
I'm new to this list. I'm currently doing research on how to properly
configure load balancing with ejabberd.
- 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.
Thomas Clavier
2012-01-18 14:27:46 UTC
Permalink
Post by Michael Weibel
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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20120118/5a120f4e/attachment.pgp>
Michael Weibel
2012-01-19 07:19:20 UTC
Permalink
Hi Thomas, John

thanks for your recommendations. I will take a look on both products.

- Michael

2012/1/18 Thomas Clavier <tom at tcweb.org>
Post by Thomas Clavier
Post by Michael Weibel
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
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20120119/0c0e91dc/attachment.htm>
David Banes
2012-01-19 09:18:34 UTC
Permalink
We've used the software load balancer 'Balance' as well for the XMPP traffic, very stable.
Post by Michael Weibel
Hi Thomas, John
thanks for your recommendations. I will take a look on both products.
- Michael
2012/1/18 Thomas Clavier <tom at tcweb.org>
Post by Michael Weibel
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
_______________________________________________
_______________________________________________
JAdmin mailing list
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe at jabber.org
_______________________________________________
----------------------------------------------------------------------------
Simplifying software development and IT systems http://www.cleartextsystems.com/
----------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20120119/91c93527/attachment.htm>
Loading...