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!

1 Like

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.

You can use Jitsi Meet toture with selenium hub.

1 Like

Guys, having experience many issues with JIBRI the only way you can reliably test and reproduce “real world” experiences is through multiple VMs, as “people” are not great when you want to test out of hours.

To reproduce some recent issues I bit the bullet and built & replicated over 40 VMs, 30 win10s and more of mixed Linux desktops etc. All have OS + 4 or 5 browsers, OBS and virtual microphones. I have a couple of dedicated desktop Win10s that “present” (by running multiple videos on loop through OBS & virtual mic) and control the meeting participants etc. All browser sessions run virtual camera & are can be set to an image/multiple image show/videos etc.

All VMs spread over multiple servers/IPs and 10GB connections.

Each VM can handle 2 same-browser sessions to each test (or live) install of jitsi/jibri - can multi-stream to YouTube/Private Web Site/Facebook etc simultaneously. Happy to organise tests of environments if required - get in touch.

1 Like

Did you find a good answer for your question? I’ll be running a similar scenario.