BEAM There, Done That with Mat Trudel on Building Bandit and the Web Server Running Your Phoenix App

New episode covering Bandit’s engineering in more depth than I’ve seen elsewhere.

Stack trace clarity. One process per connection means errors produce entirely Elixir frames - no C boundary obscuring the failure. Maters more than most benchmarks at incident time.

The HPACK bug. Six months, Wireshark, one misread line in a 30-page RFC. Cowboy silently handled the same edge case differently. This is what correct HTTP implementation actually costs.

WebSock / WebSock Adapter split. Separate libraries because a web server depending on another web server as a runtime dependency is absurd. Keeps Bandit and Cowboy independent while sharing the abstraction.

The AI-generated HTTP/3 PR. Open. Unmerged. Mat writes Bandit by hand while fully AI-native in his day job. The episode is honest about what that choice means.

2 Likes

Thank you for the new upload. Love it.
You may already know it, @allenwyma microphone volume is way to low even at full volume, subtitle helped a bit.

1 Like

Great episode as always, thanks!