A standard Elixir distribution comes with fault tolerance and concurrency
primitives that are not available off the shelf in other ecosystems. These
primitives have a learning overhead that is addressed by the excellent
documentation that is available both for Elixir and Erlang/OTP.
But, there isn't much literature describing idiomatic ways to use these
primitives. Most publicly accessible discussions prescribe idioms and style for the
language, but ignore the concurrency primitives that come with it. Perhaps
because the most popular way to use Elixir does not require that you use these
primitives directly.
In this talk, I will unpack and discuss ways to idiomatically use three of
Elixir's OTP behaviours:
GenServer
Supervisor
Registry