Deploy internal-load-balancer

A load balancer for internal networking

Deploy internal-load-balancer

railway-internal-load-balancer

DJint-code/railway-internal-load-balancer

Just deployed

Internal Load Balancer

If you're using an internal railway service with multiple replicas, then you might have noticed that internal incoming traffic isn't always spread out across all replicas.

This load-balancer solves that issue by routing all traffic to this load balancer instead of the target service, and it will spread the requests to all replicas (Using Round-robin).

The only thing you need to configure is the TARGET environment variable to the internal hostname of the target service, so for example if your target's hostname is process-ocr then specify TARGET=process-ocr. And of course don't forget to route the original traffic to this load balancer instead of the original target host.


Template Content

railway-internal-load-balancer

DJint-code/railway-internal-load-balancer

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0