We have a production ready setup of Jitsi meet with jwt authentication and I need to stress test this server. I was able to setup jitsi torture that is working fine with jwt but now I ve stumbled across a problem I need to test 30 parallel sessions with 30 users using audio + video for 25 users.
When I run this test I see the CPU is extremely high on my test machine ( I m using Azure VM with 8 CPU 32GB RAM)
Is there any way that I can conduct these tests?
I ve also tried disabling JWT auth. setting no auth, then running malleus.sh with 2 conferences 15 each and that also didn’t get and results, browsers are disconnecting and video is not shown etc.
For large scale testing, you’ll can to set up a Selenium Grid to distribute the test clients across multiple hosts.
To reduce load on clients further, you can use the --use-load-test option on the malleus.sh to use the light-weight UI instead of full Jitsi meet. To use this, you’ll also need to allow the load-test UI in nginx config:
I would add to @shawn’s recommendations that there is no real way around just giving the clients sufficient CPU & memory, otherwise you get spurious load test failures because your clients aren’t keeping up.
Consider a real 30-person conference, each one of those 30 users might be using ~2 vCPU + a few GB RAM, so you can’t expect to simulate all those users on the cloud with just 8 CPU + 32 GB RAM total.
Consider using spot capacity on your cloud provider. For our load tests we fire up a Selenium grid on AWS Fargate Spot, I guess Azure has something similar. You can spin up hundreds of nodes for a short time that way without spending excessive amounts.
Well on Azure you have something called ACI Azure Container Instances and that does not scale well unfortunately… on some regions I could create maybe 5 or 6 docker nodes and that is it
I will create 4 5 dedicated servers on some other hosting and make these tests, do you want me to share the results afterwards?
Is there any kind of results of jitsi server available now, like users, CPU, memory?