How to stress test our own Jitsi Infrastructure

Hey,

I have setup my own infra for the video conference with multiple JVB on different VMs.
Before releasing it to production, I want to test how many users my infra can handle in a single conference call.

Is there any way to test the same without having that actual number of people

Kindly help!

There used to be jitsi-hammer, but it’s not working on new instances of Jitsi. I’m not sure if there’s a load testing system that works on the current setup, sadly.

@Syonyk There is a new tool called jitsi-meet-torture. But I don’t know whether it will serve my use case or not.

I’m looking to have 50+ users in a single video conference call. For that, I want to test first whether my infra is able to handle this kind of load or I need to increase the capacity or what not.

I think that’s just a general testing framework for Jitsi, not a load generator.

50+ users on Jitsi is a challenge, though. You’d need a pretty beefy server to handle it, and even then it might be pushing some limits. I think the usual advice for giant meetings is to stream the meeting to YouTube and have view-only participants watch there.

You should also look at the “Last N” config options for that many users. Instead of everyone streaming their video up, it (theoretically) organizes people by who spoke last, and only the last N users send video up - other users effectively have their video stream auto-muted.

@Syonyk All participants will not stream video. Only teacher and 2-3 students will stream video and speak concurrently, rest will stream only if they have some doubt or raise their hands.

Do you think it’s possible? If yes, may you suggest some reference specs of VM required(CPU, RAM) etc. for 50+ users?

If only a few people are streaming content at once, you should be fine - I’d look at something like 4vCPUs and 4GB of RAM to be on the safe side, but I’d expect it to handle it. It’s when you try to have 50 people all pushing video/audio up that things get a mess.

But “stress testing Jitsi” is definitely an open question at this point.

Yeah definitely.
I also found a link Jitsi-hammer stress test.

May be this can help, I’m exploring this.

Hi Everyone,
What is the ideal server specs for running 50 concurrent sessions of streaming and each session contains exactly 2 users.