# Scalability and PipeTransport

**URL:** <https://mediasoup.discourse.group/t/scalability-and-pipetransport/2053>\
**Category:** mediasoup libraries\
**Created:** [November 23, 2020, 12:49am UTC](https://mediasoup.discourse.group/t/scalability-and-pipetransport/2053 "2020-11-23T00:49:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Honeyside](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/honeyside/32/665_2.png) [@Honeyside](https://mediasoup.discourse.group/u/Honeyside)\
**Post date:** [November 23, 2020, 12:49am UTC](https://mediasoup.discourse.group/t/scalability-and-pipetransport/2053/1 "2020-11-23T00:49:11Z")

</div>

Hello everyone!

Let me start by telling you that I LOVE mediasoup. Thank you for making this library available!

I am trying to create a scalable solution that will pipe between different routers on different hosts. I have my own signaling and I think I understand everything, but would like confirmation before moving forward with the development, just to be sure that I won’t waste effort.

In my understanding:

- Host 1 has a router1.
- Core app tells host 2 to prepare to receive incoming stream, router2 is created.
- Both router1 and router2 create a PipeTransport.
- The two hosts exchange their PipeTransports.
- Hosts connect to each other.
- Now they can consume and produce.

Is this correct?

---

<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:** [November 23, 2020, 10:39am UTC](https://mediasoup.discourse.group/t/scalability-and-pipetransport/2053/2 "2020-11-23T10:39:43Z")

</div>

Yes, exactly the same flow as when things happen in the same host (in this case no network signaling is needed obviously):

> <https://github.com/versatica/mediasoup/blob/v3/src/Router.ts#L683>
