24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-30 23:02:00 +02:00

Document MUC domain_balancing broadcast (EJABS-1866)

This commit is contained in:
Badlop 2012-11-06 10:54:12 +01:00
parent ab9ac62138
commit 84d9ee07b4

View File

@ -3362,6 +3362,14 @@ themselves are not clustered nor fault-tolerant: if the node managing a
set of rooms goes down, the rooms disappear and they will be recreated
on an available node on first connection attempt.
If the global option \option{domain\_balancing} is set to \term{broadcast}
(see section \ref{domainlb}),
then the rooms exist on all nodes of the cluster at the same time.
It means that all messages published
on one instance of a room are broadcasted to the instances of the same
rooms on all clusters. To avoid useless traffic, this broadcast is
limited to non empty room instances.
Module options:
\begin{description}
\hostitem{conference}
@ -5932,6 +5940,7 @@ If you need a different behaviour, you can change the load balancing behaviour w
Several balancing criteria are available:
\begin{itemize}
\item \term{broadcast}: ???
\item \term{destination}: the full JID of the packet \term{to} attribute is used.
\item \term{source}: the full JID of the packet \term{from} attribute is used.
\item \term{bare\_destination}: the bare JID (without resource) of the packet \term{to} attribute is used.