Born and grew up in Vietnam, today I’m a developer and consultant at Erlang Solutions in Stockholm, Sweden. I fell in love with Erlang during my days in University and was fortunate enough to be able to work with it ever since. Using Erlang and later Elixir, I have been working hands-on with multiple clients: from a large-scale, legacy telecom product, to a user database service using the hottest and latest Phoenix LiveView.
Understanding processes and supervisors in Erlang/Elixir can be tricky for beginners. When I was preparing to give a talk introducing Erlang and Elixir to developers in Vietnam, I thought of this idea to visualise how processes and supervisors works using Phoenix LiveView. A simple application was written and people was impressed by the power of OTP. It was a waste to just have it as a one time demo and I thought it could be helpful if you are a visual learner, with some quick setup, clicking and playing around, the demo can help beginners to understand more about processes and supervisors.
Beginners learning about Erlang processes, hopefully trainers wanting to show their class about how supervisors works.