# single worker scaling and CPU limitations

**URL:** <https://mediasoup.discourse.group/t/single-worker-scaling-and-cpu-limitations/598>\
**Category:** mediasoup libraries\
**Created:** [February 26, 2020, 8:04pm UTC](https://mediasoup.discourse.group/t/single-worker-scaling-and-cpu-limitations/598 "2020-02-26T20:04:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![alexciarlillo](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/alexciarlillo/32/131_2.png) [@alexciarlillo](https://mediasoup.discourse.group/u/alexciarlillo)\
**Post date:** [February 26, 2020, 8:48pm UTC](https://mediasoup.discourse.group/t/single-worker-scaling-and-cpu-limitations/598/3 "2020-02-26T20:48:48Z")

</div>

> [@ibc](#):
>
> It depends on whether all those users are sending audio and video at the same time. I cannot give exact numbers. Anyway, I’m pretty sure you don’t want to have a conference of 200 users talking all together and sending audio all together at the same time.

You are absolutely correct. 90-95% of the users are muted and their producers are correspondingly paused on the server. We just want to ensure that at any time, someone can quickly unmute themselves and speak up if necessary. I am guessing this fact, along with being audio only, is why we achieved such a high consumer count.

> [@ibc](#):
>
> If you interconnect N Routers of different N **Workers** then you use N CPUs, so yes, it increases the number of suitable Consumers.

I see now that you are right. For some reason my initial math was making think of this in the wrong way.

Router 1 (on Worker1) has 50 connected users. So initially 50 \* 49 = 2450 consumers.  
Router 2 (on Worker2) has 50 connected users. 50 \* 49 = 2450 consumers.  
Pipe 50 producers from Router 2 to Router 1 creates another 50 \* 50 = 2500 consumers on Router 1.  
Pipe 50 producers from Router 1 to Router 2 creates 50 \* 50 = 2500 consumers on Router 2.

So we still reach the same 9900 consumers, but each router only has 4950.

Fantastic… this is definitely something we should be able to achieve and I am glad you straightened out my thinking on this!

Thanks so much

---

_[View the full topic](https://mediasoup.discourse.group/t/single-worker-scaling-and-cpu-limitations/598)._
