Freshly deployed Rails 7 app, painfully slow to load

Just wondering if I’ve missed something? Finally deployed my Rails 7 app on the free plan and it’s extremely slow to load. It’s not a URL I can publicly show but I’m able to provide other information. No error etc. The website works but it’s like waiting 10 - 30 seconds to load. I suspect threading issue?

I’ve followed this tutorial except that I’m not using the render.yaml to deploy

I only need to see this speed increase, after which I’m gladly to hand over my credit card :wink:

Hi Daveyon,

A free plan will spin down after 15 minutes of inactivity, and the next request will spin it back up, which can take around 30 seconds, as noted in the Free Plan docs. Could that be the latency you’re experiencing?

You didn’t mention the service or URL you’re referring to, but I think I found your service. Once the first request had spun up the free instance, subsequent requests seemed responsive. However, your app seems to be behind authentication, so I didn’t have a lot of pages to compare. If other pages are “heavier” they may need more debugging, e.g. external service latency, slow queries, long-running tasks, slow external APIs, etc.

Free plans do have limited resources, so if you want to see if a paid plan makes a difference, we only charge for the time the plan is active. If you upgraded to the first paid plan, Starter ($7 per month), and tried it out for an hour, before downgrading back to free, that would be around $0.01 in charges.

If you’re seeing something different to the comments above, please share some specific examples of the latency you are experiencing that may help us troubleshoot it with you, e.g. any logs/errors/output, timings, specific URLs, reproduction steps, etc. If you don’t want to share these details on the community forum, please feel free to raise a ticket with

Kind regards


1 Like

Thanks! I forgot about the authentication. After you’re logged in, and after the first page is loaded, another request is made to get other content (lazy loading which takes forever). Navigating to other pages is slow as well (I’m comparing with Heroku… sorry). Yes, free plan is limited. I’ll upgrade and compare. Thanks for your time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.