# routing between multiple hosts and loadbalancing

**URL:** <https://mediasoup.discourse.group/t/routing-between-multiple-hosts-and-loadbalancing/5776>\
**Category:** Deployment & Scalability\
**Created:** [January 11, 2024, 7:48pm UTC](https://mediasoup.discourse.group/t/routing-between-multiple-hosts-and-loadbalancing/5776 "2024-01-11T19:48:49Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [January 15, 2024, 2:25pm UTC](https://mediasoup.discourse.group/t/routing-between-multiple-hosts-and-loadbalancing/5776/15 "2024-01-15T14:25:11Z")

</div>

This depicts the broker server thing:

 ![image](https://global.discourse-cdn.com/free1/uploads/mediasoup/original/2X/a/ae13d94ff86a882a3fcf36cee46bed24e6426a01.png)

You can learn more about in these topics:

> [@access workers, routers, transports objects from one node process to another](https://mediasoup.discourse.group/t/access-workers-routers-transports-objects-from-one-node-process-to-another/4403):
>
> Is there any way I can access workers, routers, transports objects from one node process to another? I was thinking that may be I can construct object of workers, routers, transports from their respective process ids? I am actually planning to make multiple processes of my app i.e run on all cores of my machine. Now that my workers, routers, transports instances are on one of the processes and I need to access them in another process of my node app? Is their any way I can do that? EDIT: You …

> [@How to manage rooms, workers etc when using multiple server/node clustering?](https://mediasoup.discourse.group/t/how-to-manage-rooms-workers-etc-when-using-multiple-server-node-clustering/4638):
>
> I am using node clusters to divide loads on all cores of cpus, doing the same for socket io using io redis adapter to distribute sockets between cores. Socket will be connected to any of the cores. I am having issue here which is user’s socket gets connected to core 1, while room is on core 2 and workers, producers etc all references are on core 2 as well, so socket can’t access all that stuff of the room he want to join in or to perform any other action because they are on separate process. I…

---

_[View the full topic](https://mediasoup.discourse.group/t/routing-between-multiple-hosts-and-loadbalancing/5776)._
