# Users vs minimal server configuration vs bandwidth?

**URL:** https://mediasoup.discourse.group/t/users-vs-minimal-server-configuration-vs-bandwidth/6502
**Category:** Deployment & Scalability
**Created:** [February 21, 2025, 2:52pm UTC](https://mediasoup.discourse.group/t/users-vs-minimal-server-configuration-vs-bandwidth/6502 "2025-02-21T14:52:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![evilarinho](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@evilarinho](https://mediasoup.discourse.group/u/evilarinho)
#### Post date: [February 21, 2025, 2:52pm UTC](https://mediasoup.discourse.group/t/users-vs-minimal-server-configuration-vs-bandwidth/6502/1 "2025-02-21T14:52:13Z")

</div>

Hi, I’ve finished developing my application with mediasoup and now it’s time to put it into production.

I’ve set up an architecture that allows me to expand and load new servers if the number of users starts to increase too much. Although it works, this process is not yet automated. That’s where my question arises:

In your experience, are there any statistics related to the number of users vs a minimum server configuration vs internet bandwidth? Obviously I know that other factors play a part, but in this case it would be an approximate average.

for example: 1 linux server (ubuntu), with 2GB of ram and 10GB of bandwidth can support an average of X users

If anyone can share their experiences, I’d be grateful.

Thanks

---

<div class="post-metadata">

### Author: ![BronzedBroth](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@BronzedBroth](https://mediasoup.discourse.group/u/BronzedBroth)
#### Post date: [February 26, 2025, 11:50pm UTC](https://mediasoup.discourse.group/t/users-vs-minimal-server-configuration-vs-bandwidth/6502/2 "2025-02-26T23:50:10Z")

</div>

That’s not an easy answer to provide there’s many reasons why…

1. How your systems scale and pre-allocate space for piping locally/remotely.
2. Algorithm on scaling can limit the user count.
3. The up-to bitrate per broadcast and their viewers.
4. How hard you want to drive the CPUs before adding to the nest.

I can say a good rule of thumb is for every 1vCore @ 2GB ram you want 250Mb/s up/down link. You can play around and find your maximum and determine. A tip would be trial a weight system and just spawn more workers if it feels off and destroy some if server is overloaded. Setup a system to move users broadcasts around on the go in sub second speed.

For the bandwidth question, each user on the platform uses up to 300KB/s video and 1-80KB/s audio, your use may vary but know we’re cooking at a steady 40-60MB/s transmit with scaling/etc involved assuming 70-90% usage of the server; server would be a 4vCore 8Gb Ram, 1Gbp/s up/down networking. I run 11 media servers and it’s consistent across them all at full load. So if you go beyond that bitrate watch out I eat TBs rather quickly for egress! 🙂

To sum it all up, you’re stuck learning on your own or paying someone for their knowledge this is not an easy gig at all, trust. 😃

---

<div class="post-metadata">

### Author: ![namnm](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/namnm/32/667_2.png) [@namnm](https://mediasoup.discourse.group/u/namnm)
#### Post date: [March 7, 2025, 11:45am UTC](https://mediasoup.discourse.group/t/users-vs-minimal-server-configuration-vs-bandwidth/6502/3 "2025-03-07T11:45:13Z")

</div>

There are answers in other topics, for example:

> [@Mediasoup integration into existing WebRTC architecture | Mental health teletherapy](https://mediasoup.discourse.group/t/mediasoup-integration-into-existing-webrtc-architecture-mental-health-teletherapy/6404/10):
>
> @TomFanella Seeing that you are looking for cloud pricing info. I have some info I did research for other projects, just for reference, please check again before proceeding. Here it say 500 consumers per router / core: With 1 viewer it needs at least 2 consumers (audio + video) \*\* 1 core = 250 viewers, efficient rate 50% ~ 100 viewers / core \*\* aws c7gn.8xlarge 32core = 3,200 viewers, 300 instances = 1M viewers = $600/h \*\* 1920x1080 low quality bitrate 0.5Mbs = 225,000GB/h, network bandwid…
