In this talk some useful tools to debug applications written in Elixir in production are shown, specially for memory leak and tracing cases, exemplified via a simple GenServer, that is myself.
Diagnosing bugs in production with Elixir
View Slide
Who am I?
/danielpilon/daniel-pilon/daniel_pilon
I don't like to have bugs...
...but I love to solve them!
It's a great opportunity to learn
"If I don't use it, I lose it"
Enjoy your bugs!
Yet another memory leak story
So, where do we start?
Mix, Distillery and Elixir releases
Going roots: :sys, :erlang and :dbg modules
The Observer UI
iex> :observer.start
The Observer CLI
iex> :observer_cli.start
Recon
Rexbug
Wrapping up...
Fulfill your toolbox!
Explore! (ExProf, fprof, eflame etc)
Thank you!