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
server?
I think many servers already open multiple connections. As far as I know
ejabberd opens at least 2 s2s connections from each cluster node.
As far as I remember there is no limitation on this in the RFC or XEP.
example.com A ------------>
jabber.org
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 ------------>
jabber.org
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
connection?
- or should the other server open two returning S2S connections?
example.com A <===========>
jabber.org
example.com B <===========>
returning every incoming S2S connection back.
From my experience on working on s2s for the Tigase server it looks all
variants are possible and are in use currently.
Artur
--
Artur Hefczyc
http://www.tigase.org/
http://artur.hefczyc.net/
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: jdev-unsubscr...@jabber.org
_______________________________________________