Scaling for WebRTC

Problems with Unreal Media Server

Scaling for WebRTC

Postby » Wed Jan 30, 2019 10:29 am

We are using the Unreal server for 3/4 year now for WebRTC streaming of live events. We are very happy with the performance and stability of the system. The only thing we have to do for an event is to start de media server.
The media server is on AWS EC2 and and our streams are less then 100kB/s. WebRTC is faily compute intensive and we found that for 100 streams we need a 2 vCPU (c5large) instance. The max audiance was about 200 wich we served with a 8 vCPU For a next event we expect an audiance of about 1000 streams. My question is can we scale the software to a 32 vCPU instance without the risk of hitting some constraint in the software ?
Posts: 0
Joined: Wed Nov 01, 2017 5:27 am

Re: Scaling for WebRTC

Postby admin » Wed Jan 30, 2019 11:51 am


There are no constraints in the software, so you should be able to do that.

Unfortunately, yes, WebRTC connections are 3-4 times more CPU expensive than RTMP connections.
So you can scale it with one really strong machine, or you can use our AWS EC2 subscription and launch many smaller instances and create a load balancer.
Site Admin
Posts: 1021
Joined: Fri Aug 21, 2009 10:13 am

Re: Scaling for WebRTC

Postby » Thu Jan 31, 2019 10:04 am


Thanks very much.
Posts: 0
Joined: Wed Nov 01, 2017 5:27 am

Return to Experience and troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest