4 months ago
I was recommended to Railway by a friend. Stated that I should move my backend from Render to Railway to escape the cold start issues. However, I am still experiencing the issues and it is affecting my website. Every time a customer clicks on my link it takes about 30 seconds to load the products. I have to always refresh it. Somebody advice me on how I can fix the issue
Pinned Solution
4 months ago
You will need to subscribe to a paid plan such as Hobby or Pro to disable the serverless toggle on services.
Free plan users cannot disable serverless.
11 Replies
4 months ago
You will need to subscribe to a paid plan such as Hobby or Pro to disable the serverless toggle on services.
Free plan users cannot disable serverless.
4 months ago
I thought that Railway was free. I still have 5usd in credit doesn't that count?
petermauno436-glitch
I thought that Railway was free. I still have 5usd in credit doesn't that count?
4 months ago
The $5 worth of credits cannot be used to subscribe to a plan for the first month.
The Free plan provides you with $1 per month to host services on Railway. However, as mentioned above, Free plan users cannot disable serverless, which can lead to slow response times from a cold start.
4 months ago
I have checked and my serverless is off by default.
4 months ago
You must be on the trial then.
Does this slow response time happen locally?
4 months ago
my front end is on Vercel and my backend on Railway, when I load my website it loads quickly but the product take about a minute to load after which I have to keep on refreshing the page, without this the products take another minute to load. I don't know what the issue is
4 months ago
how can I troubleshoot the issue
petermauno436-glitch
my front end is on Vercel and my backend on Railway, when I load my website it loads quickly but the product take about a minute to load after which I have to keep on refreshing the page, without this the products take another minute to load. I don't know what the issue is
4 months ago
You should be hosting both your frontend and backend on one platform (eg, either Vercel or Railway instead of both) to minimize response times.
4 months ago
I have made them to be in the same region US West on both
petermauno436-glitch
my front end is on Vercel and my backend on Railway, when I load my website it loads quickly but the product take about a minute to load after which I have to keep on refreshing the page, without this the products take another minute to load. I don't know what the issue is
4 months ago
Are you loading images? If so, open Devtools and go to the Networking tab to measure how long each route takes to load, as well as response size.
4 months ago
how ill that help me address this because it seems more like a cold start issue? If I keep the page refreshed it does not load as much
Status changed to Solved brody • 4 months ago