Golang: Using systemd for Zero Downtime Restarts and Deploys by@vmihailenco
3,735 reads
3,735 reads

Golang: Using systemd for Zero Downtime Restarts and Deploys

by Vladimir Mihailenco3mDecember 21st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.
featured image - Golang: Using systemd for Zero Downtime Restarts and Deploys
Vladimir Mihailenco HackerNoon profile picture
Vladimir Mihailenco

Vladimir Mihailenco

@vmihailenco

Uptrace co-founder

Share Your Thoughts

About Author

Vladimir Mihailenco HackerNoon profile picture
Vladimir Mihailenco@vmihailenco
Uptrace co-founder

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!