Couple questions regarding railway

Does railway have any built in functionality to "bundle" services together for load balancing/horizontal scaling/ geo-routing? Additionally more or less the same question for Postgres databases, is there any built in functionality to facilitate having two instances of a database in different locations, the functionality to assist with replication/user routing?
Solution:
yes railway does have horizontal scaling, that setting can be found in the service settings, it's called replicas. railway does not yet have native geo-routing, because they only support deploying the service to a single region, so for now you would have two main options: - choose a single region that's closest to your average users locations. - set up duplicate services yourself in the regions you'd like, then use cloudflare to do the geo-routing, it's not too complicated....
Jump to solution
3 Replies
Percy
Percy11mo ago
Project ID: N/A
hot_biscuits
hot_biscuitsOP11mo ago
N/A
Solution
Brody
Brody11mo ago
yes railway does have horizontal scaling, that setting can be found in the service settings, it's called replicas. railway does not yet have native geo-routing, because they only support deploying the service to a single region, so for now you would have two main options: - choose a single region that's closest to your average users locations. - set up duplicate services yourself in the regions you'd like, then use cloudflare to do the geo-routing, it's not too complicated. eventually railway will let you choose what regions to deploy the service to and they will take care of the geo-routing via their edge network. there's nothing stopping you from deploying two postgres databases to two different regions, but you would have to come up with a way to connect to them and replicate the data across them as the database offerings are completely unmanaged
Want results from more Discord servers?
Add your server