[erlang-questions] "Calling" question

Mike Oxford <>
Sat May 28 00:55:13 CEST 2011


Given a supervisor tree of, say, 5, do call the top level supervisor, which
then calls it's next level down "OO style" or do you make calls to lower
level supervisors directly?
In a larger project with multiple applications,


a
...b
......c
.........d

supervisor:start_child(a) (calls into b, into c, into into d)
or
supervisor:start_child(d)...


What is the canonical "recommended way?"

Thanks!

-mox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110527/bc685fcf/attachment.html>


More information about the erlang-questions mailing list