All Templates / Other
internal-load-balancer
A load balancer for internal networking
railway-internal-load-balancer
DJint-code/railway-internal-load-balancer
Just deployed
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-balancerTARGET
The target service's hostname
Details
Aetherix Web
Created on Aug 19, 2024
8 total projects
7 active projects
0% success on recent deploys
JavaScript
Other
More templates in this category
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform
Lucas's Projects
44
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa
Shahed Nasser's Projects
318