tylerstillwater/graceful
Graceful is a Go package enabling graceful shutdown of an http.Handler server. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4485
- days_rel: n/a
- days_push: 2845
- n_releases_24m: 0
Adoption not part of the score
1277 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Graceful is a Go package that enables graceful shutdown of http.Handler servers by handling SIGINT/SIGTERM signals, closing listening sockets, and giving active requests a timeout window to complete. It predates Go 1.8's built-in http.Server.Shutdown() method and provides similar functionality for older Go versions.
Use cases
- gracefully shut down a Go HTTP server on SIGTERM
- handle in-flight requests during server restart
- avoid dropped connections when deploying Go web services
- add graceful shutdown to older Go versions before 1.8
- close listening socket immediately so another process can bind the port
When to choose
- you are on Go 1.3-1.7 and need graceful HTTP server shutdown
- you want signal-based shutdown with configurable timeout for active requests
- you need the listening socket released immediately for zero-downtime restarts
When to avoid
- you are on Go 1.8 or later - use the standard library's http.Server.Shutdown() instead
- you need active maintenance or recent updates - the last release was in 2018
Facets
library · maturity maintenance
http-server middleware web-development backend developer-tools go cross-platform graceful-shutdown http-server signal-handling zero-downtime go-library
1 source
- readme: https://github.com/tylerstillwater/graceful · fetched 2026-08-28 · 9ed5a1155788
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tylerstillwater/graceful | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="tylerstillwater/graceful")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem