News for hackers. Stuff that matters.
Re:From Go on EC2 to Fly.io: +fun, −$9/mo by ndneighbor on Monday February 27, 2023 @12:58PM (#34959694)
Hey there fyzix! Angelo here, Support Engineer from Railway. I was here procrastinating from work when I saw this comment.

The downtime you see is our proxy taking time to cutover- however, we have https://docs.railway.app/deploy/healthchecks that will only cutover once we have a 200 from your API. This way we can keep your old deploy live and serving requests if and only if it's live.

Theres more we can do to make it magical, but this should help in the meantime.

Re:From Go on EC2 to Fly.io: +fun, −$9/mo by fyzix on Monday February 27, 2023 @02:14PM (#34960634)
Thanks for the reply, Issue resolved:)

This could be done automatically by pinging the root and searching for a header set by railway's default page. If it doesn't exist then the service is live.

Re:From Go on EC2 to Fly.io: +fun, −$9/mo by ndneighbor on Tuesday February 28, 2023 @09:32AM (#34969684)
We used to do that by default, but it led to issues with load on our proxy. (Imagine n * m pings against your host for a shit-tonne (official measurement) of builds + deploys a day.)

We are hiring Network Engineers for exactly this reason :')