Using the And Media cost calculator (https://antmedia.io/cost-calculator/) and referring to the section on "standalone" server estimates towards the bottom of the page, the table indicates that:
A c2-standard-16 (in Google Compute Engine terms, 16 vCPU) can handle ~200 concurrent publishers.
Our model is a 1 <-- --> 1 WebRTC peering model where for every (1) broadcast there will be (1) viewer. Think of a "Doorbell cam" or "Baby Monitor" type product design. In most cases, Ant Media will serve as a signaling server, except for those cases where we cannot create a direct peer <--> peer connection and must pass bytes through the cloud (either through Ant or through Coturn). There's no expectation for server side recording or adaptive bitrates.
My question is, given that in ~80% of the cases (we hope) Ant will only act as a signaling server and not relay the audio/video or do any transcoding, does that alter the estimate? My expectation would be that Ant could handle higher numbers of "publisher/subscriber" pairs if the audio and video are not being sent through the cloud or transcoded, but I'm not sure.
Is there any guidance on that, or will I have to wait until I can set up a proper load testing environment with the tooling provided? Thanks for any help.
Question
Mike Shackleford
Using the And Media cost calculator (https://antmedia.io/cost-calculator/) and referring to the section on "standalone" server estimates towards the bottom of the page, the table indicates that:
A c2-standard-16 (in Google Compute Engine terms, 16 vCPU) can handle ~200 concurrent publishers.
Our model is a 1 <-- --> 1 WebRTC peering model where for every (1) broadcast there will be (1) viewer. Think of a "Doorbell cam" or "Baby Monitor" type product design. In most cases, Ant Media will serve as a signaling server, except for those cases where we cannot create a direct peer <--> peer connection and must pass bytes through the cloud (either through Ant or through Coturn). There's no expectation for server side recording or adaptive bitrates.
My question is, given that in ~80% of the cases (we hope) Ant will only act as a signaling server and not relay the audio/video or do any transcoding, does that alter the estimate? My expectation would be that Ant could handle higher numbers of "publisher/subscriber" pairs if the audio and video are not being sent through the cloud or transcoded, but I'm not sure.
Is there any guidance on that, or will I have to wait until I can set up a proper load testing environment with the tooling provided? Thanks for any help.
Link to comment
Share on other sites
Top Posters For This Question
2
2
1
Popular Days
Jul 1
2
Jul 4
2
Jun 30
1
Top Posters For This Question
Connessione 2 posts
Mike Shackleford 2 posts
Mohit 1 post
Popular Days
Jul 1 2022
2 posts
Jul 4 2022
2 posts
Jun 30 2022
1 post
Popular Posts
Mike Shackleford
Thank you so much for the prompt response. I will of course use load testing to verify and scale our project appropriately, but this information is very helpful.
Posted Images
4 answers to this question
Recommended Posts