Deployment Strategies
What are the deployment strategies available on railway, So that the API doesn't have at least 3-4 seconds of downtime every time I push the code.
15 Replies
Project ID:
N/A
Project ID:
N/A
N/a
are you using a health check?
are you using a volume?
No
No volume
but I have health checks.
does your healthcheck only return 200 when its ready to accept requests?
I think so, where's the dashboard for healthcheck pings?
wdym?
Is there a way I can monitor if these health check pings are working because they don't show up in my logs.
they are in the build logs
but try increasing the default value of
RAILWAY_DEPLOYMENT_OVERLAP_SECONDS
from 20 seconds to 30 secondsI see.So If these health checks are working and I have say 3 replicas of my flask server. They would be replaced as soon as my replica returns 200 on /health
Not before that.
thats correct
What is OVERLAP_SECONDS?
Thanks