Hacker News new | ask | show | jobs
by indutny 4364 days ago
The bud ( https://github.com/indutny/bud ) does support this kind of hot config reloads and process restarts. It's just starting new worker processes on SIGHUP, and let old workers wait until all their connections will be closed.

This is basically done by moving the balancing between workers into the master, instead of calling `accept()` concurrently from the workers.