Prefork is not exactly the same I think. In this architecture program ends after finishing task. And it also commonly includes many other stuff like passing of "tasks" to workers. So googling it gives many irrelevant links for me. Now I'm interested just in something that is supervising not one process, but N similar (started with the same command) processes.

On 28.09.2015 01:55, Laurent Bercot wrote:
On 28/09/2015 00:40, Alexander Zubkov wrote:
is I need a tool, to which I will pass number of workers I need and
program, then it will spawn given number of identical programs and
will keep them alive? I tried to google something, but may be I used
bad keywords?

  I think "preforking server" is the keyword you want.

  s6-networking doesn't do preforking. It's hard to do without support
from the program itself, because you need a minimal API to declare a
new connection assignment, an EOT, etc. I'm not sure whether a generic
preforking tool exists.


Reply via email to