Hello all,
I am working on a supervisor that will supervise three interdependent processes; say A, B and C. B depends on A and C depends on B. These processes will likely live and die together, so they will be restarted together. I will run multiple copies of such supervisor, each ow which will run its three sons.
I can easily start and supervise them, but my question is: what is the idiomatic way so that B knows about A and C knows about B? Should just I register them with a local name, so that supervisor{ā123ā} runs A{ā123ā}, B{ā123ā} and C{ā123ā}, and each of them looks up its sibilings by name? Or is there something clearer?