Tag

fd transfer

0 views collected around this technical thread.

360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Feb 18, 2020 · Backend Development

Zero‑Downtime Restarts: Transfer Open Sockets via Unix Domain Sockets in Go

This article explains how to achieve graceful, zero‑downtime restarts for long‑living TCP services by passing open file descriptors through a Unix domain socket, allowing new processes to inherit existing connections without interrupting clients, and provides a complete Go demo implementation.

GoGraceful Restartbackend
0 likes · 14 min read
Zero‑Downtime Restarts: Transfer Open Sockets via Unix Domain Sockets in Go