R
Railway5mo ago
Dem

Service down with every deployment

I have a service with volume and it is down for a few minutes every time I deploy. We have customers using the service 24/7, is there a fix?
Solution:
it's still possible to have downtime without a volume, but it would be less downtime. what I've seen work for a lot of users (including myself) to eliminate downtime between deploys, would be, no volume, use a readiness heath check, and set a service variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS to 35...
Jump to solution
8 Replies
Percy
Percy5mo ago
Project ID: N/A
Dem
Dem5mo ago
N/A
Adam
Adam5mo ago
Are you using volumes on your deployment? If so there will be some downtime. That shouldn’t result in minutes though
Dem
Dem5mo ago
Yup I’m using volume I see.. If I remove volume will it not have any downtime?
Solution
Brody
Brody5mo ago
it's still possible to have downtime without a volume, but it would be less downtime. what I've seen work for a lot of users (including myself) to eliminate downtime between deploys, would be, no volume, use a readiness heath check, and set a service variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS to 35
Dem
Dem5mo ago
How do I set that variable? Is it like any other Env variable
Brody
Brody5mo ago
yep, like any other service variable
Dem
Dem5mo ago
Ok, thanks!