Flame On: Profiling Elixir and Phoenix apps with Flame Graphs in Live Dashboard
Beginner, Intermediate, Advanced
Mike Binns is an Elixir Engineer with DockYard where he enjoys taking on interesting and challenging projects. Mike enjoys contributing to the Elixir Open Source ecosystem and is the author of Elixir libraries, including Ets, Ironman, CobolToElixir, and Flame On. In his free time, he enjoys being a Call Firefighter and spending time with his wife and four boys on Boston’s North Shore.
Elixir and Phoenix are a powerhouse combo when it comes to handling extreme volumes of traffic on minimal hardware with ease, but that doesn’t mean they can’t be made faster and more performant. Inefficiencies can creep in a number of ways, from poorly designed database queries to issues with dependencies to slow third-party APIs. Figuring out where these inefficiencies lie before the wall of production traffic hits is a critical step in initial development, as is keeping up to date with them as changes go live on your running system.
Flame On is a LiveView component and LiveDashboard Page you can add to your application to trace exactly where your application is spending its time on a given request path. In this talk, DockYard Staff Software Engineer Mike Binns will dive into flame graphs, how to use them, and specifically how to use Flame On to identify issues in your Elixir/Phoenix application.