Request speed when calling API from FE
Anonymous
FREEOP

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.

Solved

32 Replies

Anonymous
FREEOP

a year ago

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


a year ago

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


Anonymous
FREEOP

a year ago

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


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


Anonymous
FREEOP

a year ago

I'm checking it


Anonymous
FREEOP

a year ago

I found some new areas


Anonymous
FREEOP

a year ago

Please guide me setting for db region


a year ago

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


Anonymous
FREEOP

a year ago

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


Anonymous
FREEOP

a year ago

Many Thanks


Anonymous
FREEOP

a year ago

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


Anonymous
FREEOP

a year ago

Can u explain it help me?


a year ago

This is for scaling (https://docs.railway.com/reference/scaling)


a year ago

But that isn't related to your issue


Anonymous
FREEOP

a year ago

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


Anonymous
FREEOP

a year ago

I don't updated region for db


Anonymous
FREEOP

a year ago

1359920043193794600


Anonymous
FREEOP

a year ago

Can u guide me to change it


a year ago

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


Anonymous
FREEOP

a year ago

PO is me but i don't know change it


Anonymous
FREEOP

a year ago

1359921149860909000


a year ago

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


Anonymous
FREEOP

a year ago

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


a year ago

Account settings -> Feature Flags -> Metal Volumes


a year ago

Use the metal region, there should be two Amsterdam region


Anonymous
FREEOP

a year ago

I see, I turn on it


a year ago

1359921837005476000


Anonymous
FREEOP

a year ago

Meaning i choose 2 option Amsterdam


a year ago

Yeah, the one that says "Metal"


Anonymous
FREEOP

a year ago

Thanks u, I have setup successfully ❤️


echohack
EMPLOYEE

a year ago

!s


Status changed to Solved echohack 11 months ago


Loading...