instances (replicas)
smoothcubegit
HOBBYOP

a year ago

How do railway instances work (replicas)
How can i talk between instances?

Solved

18 Replies

smoothcubegit
HOBBYOP

a year ago

N/A


smoothcubegit
HOBBYOP

a year ago

https://docs.railway.com/guides/optimize-performance#configure-horizontal-scaling

looked at the docs, wanna know more as, 5 are currently active


smoothcubegit
HOBBYOP

a year ago

1363588001107546000


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


smoothcubegit
HOBBYOP

a year ago

can I use DBgate to look at them?


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


smoothcubegit
HOBBYOP

a year ago

Idk lol


a year ago

they are not databases, so no


a year ago

5 replicas is a lot, are you sure that's needed?


smoothcubegit
HOBBYOP

a year ago

i dont know what is needed for my backend. Straight up


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


smoothcubegit
HOBBYOP

a year ago

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


smoothcubegit
HOBBYOP

a year ago

okay, doing that now lol


a year ago

great, marking this as solved


a year ago

!s


Status changed to Solved adam 11 months ago


Loading...