I'm trying to find some good documentation (book, blog, mailing list etc) on how to properly deploy into a production system with Erlang.
For instance, I have an application that by design should launch three processes of a particular module that takes on the gen_server behavior. When you are starting a production Erlang system, what is the right way of going about this?
- Manually start them in the erl shell?
my_server:start().%% do this three times? (I hope this is a no.) - Let a supervisor handle it? (seems the most likely?)
- Let the server start itself three times? (I think this is a no.)
- Let a tool like rebar handle it? (Haven't learned this tool yet, so not sure.)
I'm trying to find some good resource(s) that will explain the right way of going about this in the Erlang world.