There is also this lesson from Joe, about how to write a basic server in Erlang:
https://gioorgi.com/2015/erlang-lesson1/
I transcribed and explained a bit more: it shows the power of an async language like Erlang/Elixir compared to other ones. Sadly, it is little used nowadays