# cloudflare/tableflip

Graceful process restarts in Go

Repository: https://github.com/cloudflare/tableflip
Canonical: https://ross.abutalabs.com/products/tableflip
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: graceful-restarts, golang, go
Last push: 2026-04-23T22:28:41+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 78, release rhythm 8, longevity 100
- inputs: {"age_days": 2910, "days_push": 132, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3210, forks 158 (observed 2026-08-28T04:07:48.724527+00:00)

## What it is
A Go library for gracefully restarting network services without dropping existing connections, by spawning a new process and transferring listeners to it. It supports systemd integration and guarantees no old code keeps running after a successful upgrade.

## Use cases
- zero-downtime deployment of a Go network server
- reload configuration without dropping connections
- graceful process upgrade on SIGHUP
- transfer listening sockets to a new binary
- integrate graceful restarts with systemd

## When to choose
- you run a long-lived Go network service on Linux or macOS and need zero-downtime restarts
- you want socket handoff to a new process with a grace period for initialization
- you deploy via systemd and want ExecReload-based upgrades

## When to avoid
- your service runs on Windows or other platforms outside Linux/macOS
- you use a container orchestrator that already handles rolling restarts
- you only need graceful shutdown, not full process replacement

## Facets
- artifact type: library
- maturity: stable
- function: concurrency, deployment, networking
- domain: developer-tools, backend
- platform: go
- tags: graceful-restart, zero-downtime, process-upgrade, socket-handoff, systemd, devops, linux, macos

## Member repositories
- cloudflare/tableflip (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.724527+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:43.802841+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/tableflip (fetched 2026-08-28T04:07:48.724527+00:00, sha 353fc0ef1c58)
- Data as of 2026-08-30T08:39:29.467469+00:00.
