4 ms·
I've been working on something similar in a load balancer I've been writing in Rust. It's still a work in progress. Basically the parent executes the new binar
by monroeclinton 5y ago
I've been working on something similar in a load balancer I've been writing in Rust. It's still a work in progress.
Basically the parent executes the new binary after it receives a USR1 signal. Once the child is healthy it kills the parent via SIGTERM. The listener socket file descriptor is passed over an environment variable.
https://github.com/monroeclinton/- https://github.com/monroeclinton/- (this is the proper url, it's called dash)