a month 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.
2 Replies
a month 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!
a month 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 • about 2 months ago
Status changed to Solved sarahkb125 • about 2 months ago