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
Percy11mo ago
Project ID: N/A
Percy
Percy11mo ago
Project ID: N/A
King Jahad
King JahadOP11mo ago
N/a
Brody
Brody11mo ago
are you using a health check? are you using a volume?
King Jahad
King JahadOP11mo ago
No No volume but I have health checks.
Brody
Brody11mo ago
does your healthcheck only return 200 when its ready to accept requests?
King Jahad
King JahadOP11mo ago
I think so, where's the dashboard for healthcheck pings?
Brody
Brody11mo ago
wdym?
King Jahad
King JahadOP11mo 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
Brody11mo 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 JahadOP11mo 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
Brody11mo ago
thats correct
King Jahad
King JahadOP11mo ago
What is OVERLAP_SECONDS?
King Jahad
King JahadOP11mo ago
Thanks
Want results from more Discord servers?
Add your server