25 days 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
25 days 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!
25 days 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 • 25 days ago
Status changed to Solved sarahkb125 • 25 days ago