Service down with every deployment
shuwenf
PROOP

2 years ago

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?

8 Replies

shuwenf
PROOP

2 years ago

N/A


adam
MODERATOR

2 years ago

Are you using volumes on your deployment? If so there will be some downtime. That shouldn’t result in minutes though


shuwenf
PROOP

2 years ago

Yup I’m using volume


shuwenf
PROOP

2 years ago

I see.. If I remove volume will it not have any downtime?


brody
EMPLOYEE

2 years 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


shuwenf
PROOP

2 years ago

How do I set that variable? Is it like any other Env variable


brody
EMPLOYEE

2 years ago

yep, like any other service variable


shuwenf
PROOP

2 years ago

Ok, thanks!


Loading...