Load balancing over the private network
0xpaperhead
PROOP

7 months ago

The documentation state the following:

```

If you are using multi-region replicas, Railway will automatically route public traffic to the nearest region and then randomly distribute requests to the replicas within that region.

If you are using a single region with multiple replicas, Railway will randomly distribute public traffic to the replicas of that region.

We plan to add more advanced load balancing strategies in the future.

```

Does this mean there's no load balancing occurring between multi-instance over the private network? Only incoming public connections are load balanced?

Most apps expose a single API gateway and everything else is privately networked.

Solved

2 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


sarahkb125
EMPLOYEE

7 months ago

There is no native load balancing for private network traffic between multi-instance replicas on Railway. Public traffic is automatically load balanced.

You can, however, manage private network connection between services using DNS within the Railway internal domain.

Some relevant docs:


Status changed to Awaiting User Response Railway 7 months ago


Status changed to Solved sarahkb125 7 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...