Tag

Graceful Restart

0 views collected around this technical thread.

360 Tech Engineering
360 Tech Engineering
Feb 18, 2020 · Backend Development

Graceful HTTP Server Restart in Go: Source Code Analysis and Implementation Details

This article examines classic smooth upgrade strategies for HTTP services, highlights their limitations, and provides a detailed analysis of Facebook’s graceful restart library for Go, including code examples, signal handling, process inheritance, and the mechanisms for zero‑downtime deployments.

GoGraceful RestartProcess Management
0 likes · 15 min read
Graceful HTTP Server Restart in Go: Source Code Analysis and Implementation Details
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.

BackendGoGraceful Restart
0 likes · 14 min read
Zero‑Downtime Restarts: Transfer Open Sockets via Unix Domain Sockets in Go
360 Tech Engineering
360 Tech Engineering
Jun 27, 2019 · Backend Development

Introducing gobox: A Lightweight Go Framework for HTTP Request Handling

This article introduces gobox, a self‑developed lightweight Go framework that treats each module as a box, explains its HTTP request handling architecture, key components such as System, Router, SimpleRouter, ActionContext, Controller, demonstrates graceful‑restart support with gracehttp, and provides a complete runnable example with sample curl outputs.

BackendGoGraceful Restart
0 likes · 8 min read
Introducing gobox: A Lightweight Go Framework for HTTP Request Handling
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 11, 2019 · Backend Development

Mastering Gobox: A Go Lightweight Framework for Seamless HTTP Routing

This article introduces Gobox, a self‑developed lightweight Go framework that treats each module as a reusable box, explains its HTTP request handling architecture—including System, Router, SimpleRouter, ActionContext, and Controller components—provides detailed code snippets, routing rules, and a complete example with graceful server restart support.

BackendGoGraceful Restart
0 likes · 8 min read
Mastering Gobox: A Go Lightweight Framework for Seamless HTTP Routing
Tencent Cloud Developer
Tencent Cloud Developer
Mar 14, 2019 · Backend Development

Implementing Graceful (Hot) Restart for Go HTTP Services

To implement a graceful hot restart for a Go HTTP service, the program listens for SIGHUP, forks a child process that inherits the listening socket via an extra file descriptor, the parent stops accepting new connections and shuts down while the child begins serving, ensuring uninterrupted client requests.

GoGraceful RestartProcess Fork
0 likes · 10 min read
Implementing Graceful (Hot) Restart for Go HTTP Services
Qunar Tech Salon
Qunar Tech Salon
Aug 23, 2016 · Backend Development

Design and Implementation of Pitcher: A Go‑Based Reverse Proxy Middleware

The article presents Pitcher, a Go‑implemented reverse‑proxy middleware, detailing its one‑core‑multiple‑routes architecture, callback‑based module model, hot‑configuration reload, graceful restart strategies, GC optimizations, service splitting, and various transport choices such as TCP/protobuf, UDP, and Unix domain sockets to achieve high‑performance, scalable traffic entry for Qunar.

GoGraceful RestartReverse Proxy
0 likes · 15 min read
Design and Implementation of Pitcher: A Go‑Based Reverse Proxy Middleware