Aryeh Leib Taurog
2014-02-11 09:32:18 UTC
I'd like to have supervisor manage a single socket to be shared by a
heterogenous group of programs
I tried specifying the same unix domain socket address in multiple
fcgi-program sections of the config, but supervisor does unlink then
bind for each one. The upshot is that only the last program to be
started accepts connections on the socket. It would be nicer if
supervisor could keep track of the sockets it creates and pass the
same open file descriptor to each program. Along these lines:
<https://circus.readthedocs.org/en/0.9.2/sockets/>
The reason for doing this is to simplify graceful version releases.
When I deploy a new version of a service, I could bring it up
alongside the current version, *on the same fd*. Once it's up, I
would stop the old service.
How easy would it be to make this change? If I create a patch for it,
would it likely be accepted?
Thanks!
Aryeh Leib Taurog
heterogenous group of programs
I tried specifying the same unix domain socket address in multiple
fcgi-program sections of the config, but supervisor does unlink then
bind for each one. The upshot is that only the last program to be
started accepts connections on the socket. It would be nicer if
supervisor could keep track of the sockets it creates and pass the
same open file descriptor to each program. Along these lines:
<https://circus.readthedocs.org/en/0.9.2/sockets/>
The reason for doing this is to simplify graceful version releases.
When I deploy a new version of a service, I could bring it up
alongside the current version, *on the same fd*. Once it's up, I
would stop the old service.
How easy would it be to make this change? If I create a patch for it,
would it likely be accepted?
Thanks!
Aryeh Leib Taurog