R

Railway

βœ‹ο½œhelp

Join Server

Poor performance

Ddwaynemac12/16/2022
I've migrated a project from heroku's basic dyno (capped at 500Mb RAM) to railway and I saw a great difference in performance.

Is this to be expected?

Project ID is 02153a9e-0961-4df0-973f-a3d3ded857f4
Aangelo12/16/2022
Unfortunately yes because of the region, Us-West only. Where was your dyno located before?
Ddwaynemac12/16/2022
heroku doesnt give option. I believe their location is us-east-1
Aangelo12/16/2022
Yep, I am going to tag in @char8 just for this records when he is awake. But I think it will be that + our proxy.
Aangelo12/16/2022
Are you in Argentina?
Ddwaynemac12/16/2022
I'm on argentina, yes
Aangelo12/16/2022
Yep, US-East would be faster
Ddwaynemac12/16/2022
My users are mostly on argentina and brasil, also europe
Aangelo12/16/2022
Gotcha, yep, US-East would solve most of your issues. But a BR region would be best.
Aangelo12/16/2022
The shot-term solution would be setting up cloudflare for the CDN.
Ddwaynemac12/16/2022
The site is not heavy on assets, don't know if CDN would solve much
Ddwaynemac12/16/2022
ok, i've rolled back to heroku. I'll try again this projects migration when regions are available.
Ddwaynemac12/16/2022
other projects I migrated didn't seem to receive such an impact
Aangelo12/16/2022
It could have been the host.
Aangelo12/16/2022
Can you trigger a redeploy?
Aangelo12/16/2022
Really curious to see the latency behavior.
Ddwaynemac12/16/2022
Sure, I'm redeploying now
Ddwaynemac12/16/2022
(ruby deploy time is above 10 minutes πŸ‘€)
Ddwaynemac12/16/2022
still a big difference in response time between the heroku host and the railway host.
Aangelo12/16/2022
Alright, just what we needed. You can tear it down, in the meantime, I will wait for Charith to report back on what may be the cause for this.
Ddwaynemac12/16/2022
thanks!