Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a second jvb instance? #372

Open
maxnoe opened this issue Apr 3, 2020 · 23 comments
Open

How to add a second jvb instance? #372

maxnoe opened this issue Apr 3, 2020 · 23 comments
Labels
question Further information is requested

Comments

@maxnoe
Copy link
Contributor

maxnoe commented Apr 3, 2020

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

@foer
Copy link

foer commented Apr 3, 2020

+1

@maxnoe
Copy link
Contributor Author

maxnoe commented Apr 3, 2020

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
Copy link

ashirwad007786 commented Apr 6, 2020

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
Copy link
Contributor Author

maxnoe commented Apr 6, 2020

@ashirwad007786 that's exactly the same issue

@topelrapha
Copy link

+1

1 similar comment
@wymmek
Copy link

wymmek commented Apr 6, 2020

+1

@retani
Copy link

retani commented Apr 8, 2020

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

@foer
Copy link

foer commented Apr 8, 2020

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

@topelrapha
Copy link

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
Copy link
Contributor Author

maxnoe commented Apr 8, 2020

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
Copy link

retani commented Apr 8, 2020 via email

@porjo
Copy link

porjo commented Apr 10, 2020

@sapkra
Copy link
Contributor

sapkra commented Apr 11, 2020

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
Copy link

smalik37 commented Apr 18, 2020

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
Copy link

retani commented Apr 20, 2020

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.

@maxnoe
Copy link
Contributor Author

maxnoe commented Apr 20, 2020

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
Copy link

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
Copy link

smalik37 commented Apr 20, 2020

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
Copy link

@netaskd
Copy link
Contributor

netaskd commented Apr 22, 2020

Please check this PR #130

This was referenced Jun 11, 2020
@Echolon Echolon added the question Further information is requested label Jun 19, 2020
@pat-s
Copy link

pat-s commented Nov 13, 2020

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

@zsinba
Copy link

zsinba commented Jun 13, 2022

the same

@zsinba
Copy link

zsinba commented Jun 16, 2022

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

the page: 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests