Hosting Strapi app and deployment sleep
othman316
FREEOP

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?

Solved

17 Replies

othman316
FREEOP

7 months ago

N/A


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



othman316
FREEOP

7 months ago

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


othman316
FREEOP

7 months ago

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


othman316
FREEOP

7 months ago

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


othman316
FREEOP

7 months ago

i see
thanks for the help!


othman316
FREEOP

7 months ago

much appreciated



7 months ago

!s


Status changed to Solved medim 7 months ago


Loading...