horizontal scalability mediasoup server

Hello mates,

I am currently using a Mediasoup server for a small WebRTC service on Kubernetes, and I need to be able to scale this server horizontally. I have a load balancer in front of it. How could I tackle this challenge? Is there a way for two peers connecting to different instances to join a room created on one of them?

Hey,

Yes, there is a way to achieve this, it is also mentioned in the docs: One-To-Many Broadcasting