10 months ago
do deployments go to sleep 5 minutes after inactivity even if i'm subscribed?
because a 30 second cold start would be impractical for my api, any thoughts?
17 Replies
10 months ago
It's 10 minutes after no outbound traffic
10 months ago
30 seconds is a lot for a cold start!
10 months ago
you can test it yourself to see the average time
10 months ago
more info here: https://docs.railway.com/reference/app-sleeping
what if i turn off "serverless" how much would my montly usage be on avg?
10 months ago
that depends entirely on what you're hosting and resource usage
10 months ago
you can use the calculator on the pricing page or by checking the estimated costs in the workspace usage tab
the pricing page is a bit confusing, it says $20 per vcpu a month, but also says it depends on the usage percentage
in my case i'm hosting a strapi app for a blog
10 months ago
oh there's no calculator anymore
i see
well what kind of cost would you expect if you were deploying what i'm deploying?
a ballpark figure would suffice
10 months ago
I've never deployed a strapi application before... I've only used Directus and a directus blog with serverless enabled would cost me ~3USD/month
10 months ago
You can also set hard limits if it exceeds your estimated usage and as I said before, after your app is up and running railway will tell you an estimated usage costs
10 months ago
related docs: https://docs.railway.com/reference/usage-limits
10 months ago
!s
Status changed to Solved medim • 11 months ago