I'm aware that multiple jitsi video bridges can register with the same
jicofo agent to effectively act as a load balancer for the registered jvb
This file has been truncated.
# Load balancing
Load balancing is done by the jicofo component by selecting the least loaded
videobridge instance from those detected during startup. Videobridges are
constantly publishing statistics to PubSub XMPP service and Jicofo has to be
subscribed to those stats.
Current algorithm is based on number of conferences only, but all [stats]
published by the bridge are available and this can be improved easily.
In order to have load balancing working we have to make all bridges publish
theirs stats to shared PubSub node and configure Jicofo to listen to them.
There are following entities mentioned in the configuration:
but does this imply that there can only be one jicofo instance in the
e.g. if I had jvb1, jvb2, and jvb3 all acting as "pool members" for jicofo1.
I realize that jicofo01 is balancing the load across the jvb pool members.
but what would be the best way to ensure the jicofo itself has failover?
would I need to create a completely distinct second pool e.g. jvb4,jvb5 and
jvb6 registering with a jicofo2 so that the entire setup has a failover?
or is there a way that jvb1 could (for example) regsiter with both jicofo1