1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Source: golang-github-cloudflare-tableflip
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Pirate Praveen <praveen@debian.org>
Section: devel
Testsuite: autopkgtest-pkg-go
Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-golang,
golang-any (>= 2:1.14~),
golang-github-pkg-errors-dev (>= 0.9.1~)
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-cloudflare-tableflip
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-cloudflare-tableflip.git
Homepage: https://github.com/cloudflare/tableflip
Rules-Requires-Root: no
XS-Go-Import-Path: github.com/cloudflare/tableflip
Package: golang-github-cloudflare-tableflip-dev
Architecture: all
Depends: golang-github-pkg-errors-dev (>= 0.9.1~),
${misc:Depends}
Description: Graceful process restarts in Go (library)
It is sometimes useful to update the running code and / or configuration of a
network service, without disrupting existing connections. Usually, this is
achieved by starting a new process, somehow transferring clients to it and
then exiting the old process.
.
There are many ways to implement graceful upgrades. They vary wildly in the
trade-offs they make, and how much control they afford the user. This library
has the following goals:
- No old code keeps running after a successful upgrade
- The new process has a grace period for performing initialisation
- Crashing during initialisation is OK
- Only a single upgrade is ever run in parallel
|