10 months 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
10 months ago
Is your API and your DB deployed on the same region?
10 months ago
In the service settings
10 months ago
Did you find it? You will have to scroll down a bit in the settings
10 months 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."
10 months ago
This is for scaling (https://docs.railway.com/reference/scaling)
10 months ago
But that isn't related to your issue
10 months ago
Are you the project owner? there should be an Amsterdam region which I think is the best for you
10 months ago
Oh you need to enable the "Metal Volume" in your feature flags
10 months ago
Account settings -> Feature Flags -> Metal Volumes
10 months ago
Use the metal region, there should be two Amsterdam region
10 months ago

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

