8 months ago
I'm building a gameplay bot that will require fast response rates. Changing the region significantly speeds up or reduces bot response times. I'm therefore looking to deploy the bot with multiple regions (or global region?), but I need all regions to read from one source of truth (redis).
I understand that volumes and cron schedules are not supported on regions... I do not have any volumes or cron schedules setup in the railway settings, but my bot does run some automated schedules and listeners.
Basically, I am unsure if my bot will be supported for this multiple region service and I'm looking for some clear documentation or explanation to ensure I can get this working correctly.
I am also unsure of the differences between Multi Regions and Global Regions.
Any advise or links would be much appreciated. Thank you
5 Replies
8 months ago
You can set up replicas in multiple regions for a service that does not have a volume attached.
Status changed to Awaiting User Response Railway • 8 months ago
8 months ago
When I add multi-regions, say one in singapore and one in europe, it seems my asian users latency issues get worse and they connect through the europe bot. Does your system not direct users to the closest bot to them? Is this what the Global Regions service is for? Is that something I am able to use, I cannot find the settings online... Thank you
Status changed to Awaiting Railway Response Railway • 8 months ago
8 months ago
We do. Are your services within Railway communicating over the private network?
Status changed to Awaiting User Response Railway • 8 months ago
ray-chen
We do. Are your services within Railway communicating over the private network?
8 months ago
yes, i believe so. So i need to switch to a public network and it will work direct users to their closest region?
Status changed to Awaiting Railway Response Railway • 8 months ago
8 months ago
Communicating between services over the private network should be faster. Take a look at the documentation here to make sure you have multi-region replicas set up correctly.