docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

How to add a second jvb instance?

Open maxnoe opened this issue 4 years ago • 23 comments

Is it possible to add a second jvb instance for load balancing in the docker setup?

maxnoe avatar Apr 03 '20 09:04 maxnoe

+1

foer avatar Apr 03 '20 10:04 foer

I tried today by just starting a second instance in our rancher instance but it did not work out. No connection was possible thorugh the second jvb

maxnoe avatar Apr 03 '20 10:04 maxnoe

Sorry for hijacking someone's thread but my issue is related to it, that's why I'm not creating a new issue.

It's possible to add multiple jvb instances when we use the quick-install method of the jitst-meet for installation.

Is the same possible for the docker installation that we may connect multiple JVBs to the prosody?

ashirwad007786 avatar Apr 06 '20 13:04 ashirwad007786

@ashirwad007786 that's exactly the same issue

maxnoe avatar Apr 06 '20 13:04 maxnoe

+1

topelrapha avatar Apr 06 '20 15:04 topelrapha

+1

wymmek avatar Apr 06 '20 15:04 wymmek

May I ask at which user count you run into problems with the single jvb instance?

retani avatar Apr 08 '20 10:04 retani

The Problems begin wirh about 15 participants...lags...hangs...disconnects

foer avatar Apr 08 '20 11:04 foer

The same here .. some problems with about 13 participants in one channel - the most error is lost audio/video connection but still in the conference. Only reload the page fixing it.

But will a second or third jvb fix this error? I don't think so - one channel will consume only one jvb further - or am I wrong?

topelrapha avatar Apr 08 '20 11:04 topelrapha

May I ask at which user count you run into problems with the single jvb instance?

We are more concerned about bandwidth, so looking for a second jvb with another uplink. Several people at the same time broadcasting video get's you fast into the 300MBit and above region.

maxnoe avatar Apr 08 '20 11:04 maxnoe

Same. I also think that more instances would help. But Do you have proof? Neither vCPU nor bandwidth are maxed out. Or maybe a dedicated CPU could help.

Am 08.04.2020 um 13:01 schrieb Dominik Förderer [email protected]:

 The Problems begin wirh about 15 participants...lags...hangs...disconnects

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

retani avatar Apr 08 '20 14:04 retani

Not specific to Docker setup, but may help: https://github.com/jitsi/jitsi-meet/wiki/jitsi-meet-load-balancing-installation-Ubuntu-18.04-with-MUC-and-JID

porjo avatar Apr 10 '20 22:04 porjo

Here is a discussion I had about this topic - it may have some helpful information. But please note that it's a bit kubernetes specific. https://community.jitsi.org/t/scale-videobridge-inside-kubernetes/20527

sapkra avatar Apr 11 '20 01:04 sapkra

Hi

Anyone managed to get the second JVB in docker-compose ? as part of the install or in shard config.. I am looking to have multiple JVB instances

smalik37 avatar Apr 18 '20 13:04 smalik37

I have tried on the basis of the manual sent by @porjo . A major problem is that more components of jitsi need to be exposed to the outside world, which are currently available only in the internal docker network. I have managed to expose XMPP based on this thread (https://github.com/jitsi/docker-jitsi-meet/issues/425). But now need to auth. and internal.auth. subdomains and/or services are needed too.

retani avatar Apr 20 '20 08:04 retani

This is actually not a problem for us, as we use a rancher (still 1.6 though) infrastructure and the containers can still communicate via internal docker networks even if running on different hosts and the outside traffic coming in over different networks.

I still wasn't successfull in adding a second instance.

maxnoe avatar Apr 20 '20 08:04 maxnoe

I have tried on the basis of the manual sent by @porjo . A major problem is that more components of jitsi need to be exposed to the outside world, which are currently available only in the internal docker network. I have managed to expose XMPP based on this thread (#425). But now need to auth. and internal.auth. subdomains and/or services are needed too.

JVB dont need to be exposed, not sure about your setup. But My issue is adding more JVB's in docker-compose so when we spin the stack I have three JVB's rather one

smalik37 avatar Apr 20 '20 14:04 smalik37

It would be great if multiple JVB can be added for scaling purposes with in docker-compose, just get too messy with creating another docker container and configuring it manually

smalik37 avatar Apr 20 '20 14:04 smalik37

found this https://community.jitsi.org/t/how-can-i-add-extra-jvb-in-docker-meet/30911/4

smalik37 avatar Apr 21 '20 11:04 smalik37

Please check this PR https://github.com/jitsi/docker-jitsi-meet/pull/130

netaskd avatar Apr 22 '20 21:04 netaskd

Here is another guide I wrote that might be helpful when setting up additional JVBs on external machines.

pat-s avatar Nov 13 '20 06:11 pat-s

the same

zsinba avatar Jun 13 '22 17:06 zsinba

这是我写的另一个指南,在外部机器上设置额外的 JVB 时可能会有所帮助。

the page: 404

zsinba avatar Jun 16 '22 02:06 zsinba