Yelp/zygote — Issue #24: zygote should be able to cleanly restart
Author: Roguelazer
Created: 2011-11-23 00:38:31+00:00
State: open
Labels: feature, P2

Right now, if you want to change the version of zygote itself (as opposed to the app it's hosting), you need to completely stop and start it. This is suboptimal (since it's very slow). It would be preferable of Zygote could use a Unix Domain socket to pass the listening file descriptor over from the old master to the new master for 0-downtime restarts of the master. This might be easiest to implement like haproxy's quick reloads (where you start the new process with an argument of the pid of the old process, and the two communicate behind the scenes to transition versions).