- 主頁 [github.com]
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
其他與 golang-github-cloudflare-tableflip-dev 有關的套件
- dep: golang-github-pkg-errors-dev (>= 0.9.1~)
- Simple error handling primitives for Go