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