[erlang-questions] Multiple applications

Karolis Petrauskas <>
Sat Nov 10 08:11:05 CET 2012


Hello,

    I am building an Erlang based system that is composed of several
applications. In principle, the system consists of a main application
and a number of "plug in applications". The latter have modules
implementing behaviours defined by the main application. In this
particular case, should I have all the "plug in applications" as
library applications, and access them from the main application based
on some explicit configuration? Or should all the applications have
its own application modules starting own supervisors and then
registering self to the main application? The main thing confusing me
is the recommendation to have single supervision tree for the entire
system.

Best regards,
Karolis



More information about the erlang-questions mailing list