In the book Joe explains that OTP loads 67 modules and starts 25 processes at startup, which makes it slow to boot. Then he demonstrates how to create a single module providing a very minimal subset of what these 67 modules do. This single module can then be used to create scripts that start and run very quickly, since they don't require the whole OTP machinery.
Some of the functionality the module provides are rpc, stdio, and very basic process registration.
https://www.safaribooksonline.com/library/view/programming-e...
http://erlang.org/pipermail/erlang-questions/2014-February/0...
In the book Joe explains that OTP loads 67 modules and starts 25 processes at startup, which makes it slow to boot. Then he demonstrates how to create a single module providing a very minimal subset of what these 67 modules do. This single module can then be used to create scripts that start and run very quickly, since they don't require the whole OTP machinery.
Some of the functionality the module provides are rpc, stdio, and very basic process registration.