Elixir Wizards

Telemetry & Observability for Elixir Apps at Cars.com with Zack Kayser & Ethan Gunderson

7 snips
Dec 12, 2024
Ethan Gunderson, Principal Software Engineer focused on performance and observability, and Zack Kayser, Senior Software Engineer experienced in running large-scale Elixir systems, discuss telemetry and observability at Cars.com. They cover scaling Elixir for high traffic, tracing and spans, LiveView WebSocket challenges, sampling and storage trade-offs, OpenTelemetry adoption, and practical steps for getting telemetry working in apps.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ANECDOTE

Real Traffic Numbers At Cars.com

  • Cars.com routinely handles hundreds of millions and has hit billions of requests per day across HTTP and WebSocket traffic.
  • Zack reports 100,000 to 200,000 open WebSocket connections in quiet mornings, illustrating LiveView scale challenges.
INSIGHT

Observability Enables Unplanned Questions

  • Observability is the ability to ask unplanned questions of a running system to diagnose incidents and understand behavior.
  • Zack Kayser emphasizes tracing entry points like Cowboy/Bandit, LiveView messages, Broadway and Oban to get out-of-the-box context for new features.
ADVICE

Instrument Entry Points For Zero-Friction Observability

  • Do auto-instrument common entry points so developers get traces, logs, and metrics for free when adding features.
  • Zack describes attaching telemetry to Phoenix, LiveView, Broadway, and Oban so engineers don't have to think about instrumentation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app