Elixir Mix is a weekly show focused on the Elixir programming community. Our panel discusses topics around functional programming, the Elixir ecosystem, and building real world apps with Elixir based tools and frameworks.

Episode 59: EMx 059: Using Rust to Scale Elixir for 11 Million Concurrent Users with Matt Nowack

July 09, 2019 54:20 55.79 MB Downloads: 0

Sponsors

  • Sentry use the code “devchat” for 2 months free on Sentry small plan

  • CacheFly

Panel

  • Mark Ericksen

  • Josh Adams

  • Michael Ries

  • Eric Oestrich

Joined by Special Guests: Matt Nowack

Summary

Matt Nowack, a developer at Discord, gives an intro to Discord and shares its origin story. The panel discusses the problems that Discord was having because of its 11 million concurrent users. Matt talks about when they knew there was a problem, how they used a runtime VM to find the problem, the tools they tried to fix the problem and how they landed on NIFs to fix the problem. The panel discusses the risks of using NIFs and how using Rust helps negate that risk. Matt discusses the reference counter in the rustler package and answers questions about using dirty schedulers. Discord developers publish many blogs and publish many open source projects; Matt shares the Discord philosophy on open sourcing and contributing to the Elixir community. 

Links

Picks

Mark Ericksen:

Josh Adams:

Michael Ries:

Eric Oestrich:

Matt Nowack: