OTP cheat sheet (Erlang)
- Tutorial
Probably many who began to study Erlang and the Open Telecom Platform (OTP), it was not easy to remember all the possible settings of the supervisor or the gene server, as well as the order of incoming arguments and the format of the returned values. The main difficulty is that the description of any process, whether it is the initialization of the supervisor or the synchronous call of the gene server, is located in different parts of one page of the documentation. At the very beginning of mastering OTP, such navigation leads to a loss of context and a slowdown in learning. Not finding the OTP cheat sheets on the Internet, I had to create my own. I hope she helps you with the study (all pictures are in English).
- Supervisor
- Initialization
- Server gene
- Initialization
- Synchronous operation
- Asynchronous operation
- Info message
- Shutdown
Supervisor
Initialization
Server gene
Initialization
Synchronous operation
Asynchronous operation
Info message
Shutdown
Charts in svg format, as well as in html for editing with draw.io, are in the repository https://github.com/Telichkin/otp_cheatsheet . I will be glad to comments and pool requests with ideas to improve the cheat sheet.





