Golang: Using systemd for Zero Downtime Restarts and Deploys
Too Long; Didn't Read
During restarts, your API may be unavailable for short period of time required to stop an old app instance and start a new one. You can fix that by introducing another app (proxy) that listens on behalf of the main app and somehow proxies the data. A popular way is to pass the listening socket as a file descriptor to a child process and then re-create the socket there.
Share Your Thoughts