# Worker, Router and Transports on a four core Machine

**URL:** <https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437>\
**Category:** Deployment & Scalability\
**Created:** [December 3, 2019, 6:01am UTC](https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437 "2019-12-03T06:01:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![madabhaviamit](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/madabhaviamit/32/1418_2.png) [@madabhaviamit](https://mediasoup.discourse.group/u/madabhaviamit)\
**Post date:** [December 3, 2019, 6:01am UTC](https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437/1 "2019-12-03T06:01:36Z")

</div>

Hi Team,

As per the documentation, It is clear that on each mediasoup worker 400-600 consumers can be created. It is also said that on each worker as many as routers can also be created.

Now, is it possible to have only 4 routers being created on 4 of the workers and create all the 400-600 consumers on each of the router and have all the consumers that a four core machine can handle into the four routers?

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [December 3, 2019, 9:25am UTC](https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437/2 "2019-12-03T09:25:03Z")

</div>

I don’t properly understand your question, sorry. Depending on the CPU capacity a single core (so a single mediasoup `Worker`) can handle up to 400-600 `Consumers`. Whether you have those 400-600 `Consumers` a single mediasoup `Router` or distributed into N `Routers` is not important.

---

<div class="post-metadata">

**Author:** ![madabhaviamit](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/madabhaviamit/32/1418_2.png) [@madabhaviamit](https://mediasoup.discourse.group/u/madabhaviamit)\
**Post date:** [December 3, 2019, 9:34am UTC](https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437/3 "2019-12-03T09:34:16Z")

</div>

Hi,

This answers my question. Now i will have number of routers same as the number of workers and distribute the consumers on the routers accordingly.

Thanks for the support:smiley:

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [December 9, 2019, 12:59am UTC](https://mediasoup.discourse.group/t/worker-router-and-transports-on-a-four-core-machine/437/4 "2019-12-09T00:59:56Z")

</div>

Closed on December 9, 2019, 12:59am UTC


