Chatmosphere / chatmosphere-app

We are a small group of friendly humans working on an open source project to make informal video calls more fun and dynamic.
https://chatmosphere.cc/
Other
161 stars 40 forks source link

🗂 Epic: Load Reduction #114

Open dkgrieshammer opened 2 years ago

dkgrieshammer commented 2 years ago

Description

😻 Now that we have our Playwave load testing script in docker, it's easy to spin up loadtests on Chatmosphere. In the current server setup we are stable until around 30 Participants; our current bottleneck is not server power but network traffic. Exact metrics are kind of hard to get; utilizing grafana is helpful, but monitoring server logs via ssh is more accurate; (maybe RTT could help here? Ideally Load Test)

Measures

  1. Implement Last-N and only request video streams from users that are visible on screen;
  2. We should also stop streaming audio of users outside of the radius (not sure how to do that currently)

Linked Issues