Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elixir and OTP

Elixir and OTP

The Erlang ecosystem excels at handling concurrent scenarios like the large chat system WhatsApp. Its paradigms based on concurrency differ from your common experience but they will boost your performance and spark your interest after understanding. This talk explains the basic principles of Elixir.

After a brief introduction into Elixir’s syntax, we approach the communication model and then move on to the failure recovery enabled by supervision trees. The talk is concluded by the explanation of hot code swapping.

The corresponding code for the talk can be found on GitHub: https://github.com/philippneugebauer/introduction_elixir_otp

Philipp Neugebauer

October 25, 2018
Tweet

More Decks by Philipp Neugebauer

Other Decks in Technology

Transcript

  1. Keep it simple! Philipp Neugebauer
 IT Consultant at INNOQ •

    Rails/Phoenix • Simple CI/CD • Docker + AWS
  2. SYNTAX a = [ %{true: 1, false: 2.0 }, {:ok,

    "success"}, fn x -> x + 1 end ] List.last(a).(1)
  3. LET IT CRASH W W W1 W … Process.monitor(W) {:DOWN,

    ref, :process, object, reason} S S S