[ejabberd] Load balancing and clustering

Evgeny Khramtsov xramtsov at gmail.com
Wed Dec 20 15:38:08 MSK 2017


Wed, 20 Dec 2017 11:55:36 +0000
Raoul Duke <rduke496 at gmail.com> wrote:

> I'm assuming that terminating SSL is problematic at the load balancer
> because of STARTTLS?  So would it be tcp load balancing with TLS still
> handled by the pool members?

It's possible to do Direct-TLS if your clients support XEP-0368:
https://xmpp.org/extensions/xep-0368.html

> Does anyone have a link (or can paste) a sample haproxy config that
> you use in front of a cluster?  I just don't want to learn lessons
> the hard way.

https://blog.onefellow.com/post/76702632637/haproxy-and-ejabberd
Not sure how fresh this article is, though.


More information about the ejabberd mailing list