Migrated to Metal and now my app runs exponentially slower and can time out
protoapostoli
HOBBYOP

9 months ago

Railway auto migrated my project to metal, and since then everything has been running exponentially slower (from <1s avg to 10s avg), even timing out on certain pages (at 60s).

I'm running Laravel with a postgres db in the same project. Both DB and App are in the same region and on metal. App is connecting to DB using the public facing url.

Any help/insight/direction would be appreciated.

4 Replies

protoapostoli
HOBBYOP

9 months ago

347bd910-0c10-4036-a7b2-bb5768852d57


protoapostoli
HOBBYOP

9 months ago

1372287924279710000


protoapostoli
HOBBYOP

9 months ago

ok, so i think there's something going on with the public facing url routing, i changed the env variables on the app to use the internal network url and 5432 for the port and everything works again.

sorry I bothered you guys 🙂


protoapostoli
HOBBYOP

9 months ago

dang, this is actually exponentially faster now, this is awesome!


Loading...