a year ago
How do railway instances work (replicas)
How can i talk between instances?
18 Replies
https://docs.railway.com/guides/optimize-performance#configure-horizontal-scaling
looked at the docs, wanna know more as, 5 are currently active
a year ago
With a properly architected project, your replicas should not talk to each other. They should interface through a database or orchestrator service
a year ago
Replicas are best used for parallel processing tasks or instances where you need multiple copies of one distinct service, like a frontend
a year ago
they are not databases, so no
a year ago
5 replicas is a lot, are you sure that's needed?
a year ago
you should not be using replicas if you don’t understand what they do/have a distinct problem that more computing would solve
a year ago
Then imo there's no point worrying about replicas right now
currently struggling with Unity to go server via websockets. Thought it might help usage
a year ago
but this should answer all your questions regarding replicas ^
a year ago
how about you open a new help thread with a problem statement for your unity problem? Replicas will very likely not solve your issue
a year ago
great, marking this as solved
a year ago
!s
Status changed to Solved adam • 11 months ago
