[jdev] S2S clustering

Tomasz Sterna tomek at xiaoka.com
Fri Jun 12 05:21:07 CDT 2009

I am working on clustering support in jabberd2 and have a question.

Let's assume the XMPP server example.com is working on two nodes:
A and B. Both nodes have S2S port open and configured with same SRV
record weight.

Is the serwer allowed to open two separate S2S connections to another

example.com A ------------>
example.com B ------------>

* Should the other server will open only one returning S2S connection?

- If yes, let's assume that DNS drew node B address:

example.com A ------------>
example.com B <===========>

and jabber.org is sending stanzas to example.com via node B only.

** Is node A still allowed to send stanzas, or should it terminate its

- or should the other server open two returning S2S connections?

example.com A <===========>
example.com B <===========>

returning every incoming S2S connection back.

Tomasz Sterna
Instant Messaging & EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/

More information about the JDev mailing list