7 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
7 months ago
It's 10 minutes after no outbound traffic
7 months ago
30 seconds is a lot for a cold start!
7 months ago
you can test it yourself to see the average time
7 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?
7 months ago
that depends entirely on what you're hosting and resource usage
7 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
7 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
7 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
7 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
7 months ago
related docs: https://docs.railway.com/reference/usage-limits
7 months ago
!s
Status changed to Solved medim • 7 months ago