jitsi / docker-jitsi-meet

Jitsi Meet on Docker
https://hub.docker.com/u/jitsi/
Apache License 2.0
3.1k stars 1.37k forks source link

How to add a second jvb instance? #372

Open maxnoe opened 4 years ago

maxnoe commented 4 years ago

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

foer commented 4 years ago

+1

maxnoe commented 4 years ago

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

ashirwad007786 commented 4 years ago

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?

maxnoe commented 4 years ago

@ashirwad007786 that's exactly the same issue

topelrapha commented 4 years ago

+1

wymmek commented 4 years ago

+1

retani commented 4 years ago

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

foer commented 4 years ago

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

topelrapha commented 4 years ago

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?

maxnoe commented 4 years ago

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.

retani commented 4 years ago

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 notifications@github.com:

 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.

porjo commented 4 years ago

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

sapkra commented 4 years ago

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

smalik37 commented 4 years ago

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

retani commented 4 years ago

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.

maxnoe commented 4 years ago

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.

smalik37 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

netaskd commented 4 years ago

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

pat-s commented 4 years ago

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

zsinba commented 2 years ago

the same

zsinba commented 2 years ago

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

the page: 404