Erlang/OTP behaviors for beginner

Rather than try to address your specific questions as other answers have already done, I’ll try to explain in simple terms the basics behind behaviors, and let you answer your own questions based on understanding those basics. A behavior is basically a message handling framework, where by “framework” I mean the classical definition of a … Read more

How do you design the architecture of an Erlang/OTP-based distributed fault-tolerant multicore system?

Should I just start with a few gen_servers with a supervisor and incrementally build on that? You’re missing one key component in Erlang architectures here: applications! (That is, the concept of OTP applications, not software applications). Think of applications as components. A component in your system solves a particular problem, is responsible for a coherent … Read more