Upgrading Executable on the Fly
nginx.org
Upgrading Executable on the Fly
1–10 of 72 posts
Re: Upgrading Executable on the Fly
#2[1]: https://github.com/caddyserver/caddy/blob/v1/upgrade.go
Re: Upgrading Executable on the Fly
#3I'm not sure it is super critical in the age of containerized workloads with rolling deploys but at the very least the connection draining is a good pattern to implement to prevent deploy/scaling related error spikes.
Re: Upgrading Executable on the Fly
#4I've implemented this a few times in a few languages based on exactly what nginx does. It works well, and it is pretty straight forward if you are comfortable with posix style signals, sockets, and daemons. I'm not sure it is super critical in the age of containerized workloads with rolling deploys but at the very least the connection draining is a good pattern to implement to prevent deploy/scaling related error spi…
Not sure how the cloud providers do it though, maybe combination of low DNS TTL and rolling restart since they often have huge fleets of servers which handle ingress?
Re: Upgrading Executable on the Fly
#5Re: Upgrading Executable on the Fly
#6Re: Upgrading Executable on the Fly
#70. https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overv...
Re: Upgrading Executable on the Fly
#8I don't know why they haven't moved on from it; it only really made sense when uni-core processors were the norm.
Re: Upgrading Executable on the Fly
#9(but I don't think nginx supports h3 out of the box yet)
Re: Upgrading Executable on the Fly
#10How do the two processes listen to the same port?