Skip to content
Request speed when calling API from FE
Anonymous
OP

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.

Solved

32 Replies

Anonymous
OP

2 years ago

projectId: 8900f61d-9f1c-4412-8bc7-875a8ef258ec


2 years ago

Is your API and your DB deployed on the same region?


Anonymous
OP

2 years ago

How to check the region registered for deployment. Can you guide me?


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


Anonymous
OP

2 years ago

I'm checking it


Anonymous
OP

2 years ago

I found some new areas


Anonymous
OP

2 years ago

Please guide me setting for db region


2 years ago

So.. Is your API and DB in the same region? Are they near your end users (or you)?


Anonymous
OP

2 years ago

Yes, I updated setting API and DB in the same region


Anonymous
OP

2 years ago

Many Thanks


Anonymous
OP

2 years ago

But I don't know "Configure how many instances of this service are deployed in each region."


Anonymous
OP

2 years ago

Can u explain it help me?



2 years ago

But that isn't related to your issue


Anonymous
OP

2 years ago

I want it to run fastest in hungary, which region is best?


Anonymous
OP

2 years ago

I don't updated region for db


Anonymous
OP

2 years ago


Anonymous
OP

2 years ago

Can u guide me to change it


2 years ago

Are you the project owner? there should be an Amsterdam region which I think is the best for you


Anonymous
OP

2 years ago

PO is me but i don't know change it


Anonymous
OP

2 years ago


2 years ago

Oh you need to enable the "Metal Volume" in your feature flags


Anonymous
OP

2 years ago

I changed setting but but i still see region US in volume


2 years ago

Account settings -> Feature Flags -> Metal Volumes


2 years ago

Use the metal region, there should be two Amsterdam region


Anonymous
OP

2 years ago

I see, I turn on it



Anonymous
OP

2 years ago

Meaning i choose 2 option Amsterdam


2 years ago

Yeah, the one that says "Metal"


Anonymous
OP

2 years ago

Thanks u, I have setup successfully ❤️


echohack
EMPLOYEE

2 years ago

!s


Status changed to Solved echohack • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...