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
Percy
Percy10mo ago
Project ID: N/A
Percy
Percy10mo ago
Project ID: N/A
King Jahad
King Jahad10mo ago
N/a
Brody
Brody10mo ago
are you using a health check? are you using a volume?
King Jahad
King Jahad10mo ago
No No volume but I have health checks.
Brody
Brody10mo ago
does your healthcheck only return 200 when its ready to accept requests?
King Jahad
King Jahad10mo ago
I think so, where's the dashboard for healthcheck pings?
Brody
Brody10mo ago
wdym?
King Jahad
King Jahad10mo ago
Is there a way I can monitor if these health check pings are working because they don't show up in my logs.
Brody
Brody10mo ago
they are in the build logs but try increasing the default value of RAILWAY_DEPLOYMENT_OVERLAP_SECONDS from 20 seconds to 30 seconds
King Jahad
King Jahad10mo ago
I 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.
Brody
Brody10mo ago
thats correct
King Jahad
King Jahad10mo ago
What is OVERLAP_SECONDS?
King Jahad
King Jahad10mo ago
Thanks
Want results from more Discord servers?
Add your server