a year ago
I use railway server to connect to db but my API call speed is around 5s -> 10s. Is there any way to increase processing speed. I am on pro plan. Please help me check it, my system is slow. I have optimized the code.
32 Replies
a year ago
Is your API and your DB deployed on the same region?
a year ago
In the service settings
a year ago
Did you find it? You will have to scroll down a bit in the settings
a year ago
So.. Is your API and DB in the same region? Are they near your end users (or you)?
But I don't know "Configure how many instances of this service are deployed in each region."
a year ago
This is for scaling (https://docs.railway.com/reference/scaling)
a year ago
But that isn't related to your issue
a year ago
Are you the project owner? there should be an Amsterdam region which I think is the best for you
a year ago
Oh you need to enable the "Metal Volume" in your feature flags
a year ago
Account settings -> Feature Flags -> Metal Volumes
a year ago
Use the metal region, there should be two Amsterdam region
a year ago

a year ago
Yeah, the one that says "Metal"
Status changed to Solved echohack • 11 months ago

