Skip to content
Radio Logo
PodcastsTechnologyBEAM There, Done That

BEAM There, Done That

Plangora
BEAM There, Done That
Latest episode

33 episodes

  • BEAM There, Done That

    Data Sovereignty & Local-First AI: Building Eldrim with Erik Stenman

    2026/10/16 | 41 mins.
    On Christmas Eve, the BEAM's scheduler throttled down to save power. A batch job arrived. A Christmas worth of XML took down all three failover nodes. The Klarna CEO called. Erik Stenman was already at his desk.
    That incident sent him deep into the BEAM runtime — and eventually led to the BEAM Book. Now he's applying the same habit of asking where resources really go to a different question: where does AI compute actually run, and who controls it?
    Erik Stenman (known as Happi) has been with Erlang since 1994. He wrote the BEAM Book, built Klarna's payment core, and is now building Eldrim — a sovereign AI compute router based in northern Sweden that guarantees your model calls stay within the jurisdiction you define.
    Topics include:
    the Christmas Eve scar: how scheduler throttling, a batch job, and a 20-reduction XML conversion took down all three Klarna nodes simultaneously — and why that incident eventually became the BEAM Book
    the three concepts everyone confuses: data residency (where your data sleeps), data sovereignty (who holds the keys), and local-first (keeping the primary copy close)
    why "my provider has an EU region" is not the same as EU sovereignty — and why an Amazon data center in Sweden is still subject to US law
    the US Cloud Act and China's national intelligence law: why both reach companies regardless of where their servers are physically located
    what Eldrim actually does: an OpenAI-compatible API router that enforces jurisdiction rules, fails with a 503 rather than routing quietly outside approved boundaries, and returns headers telling you exactly where and on which server your request ran
    open weight models and the myth of portability — why you never get the same answer twice, and why licenses complicate things further
    district heating in northern Sweden: how a data center in Haparanda can pipe waste heat under the streets instead of dumping it as a climate problem
    the sustainability-as-sovereignty argument — and why where you run compute is now also an environmental decision
    what a developer shipping Elixir and calling a model API can do today
    Companion episodes: local-first with Brooklyn Zelenka and Robert Virding; BlueSky's data plane with Chris Beck; Hologram with Bart Blast.
    Recorded October 2, 2026.
    Resources mentioned:
    eldrim.ai
    happyhacking.blog — Erik's writing
    The BEAM Book
  • BEAM There, Done That

    Ingela Andin on the TLS Stack Running Under Every BEAM App

    2026/10/09 | 38 mins.
    Every secure connection made from an Erlang, Elixir, or Gleam application runs through code she wrote. Most developers have never heard her name.
    Ingela Andin has spent more than two decades on the OTP team at Ericsson, maintaining the TLS stack — the piece of infrastructure underneath HTTPS, LDAP, SMTP, and every other secure protocol in the BEAM ecosystem. She is the first point of contact when an AI-generated vulnerability report lands in the OTP inbox. And this year, that inbox changed entirely.
    At the start of 2026, maintainers were still laughing at AI bug reports. Daniel Stenberg, creator of Curl, shut down his bug bounty because the reports were hallucinating junk. Then in the space of weeks, the table turned. The reports became real and they kept coming. Linus Torvalds called the kernel security list almost entirely unmanageable. The BEAM did not escape.
    Topics include:
    * what separates a vulnerability from a bug — and what separates a bug from someone doing something dumb
    * what Ingela's inbox looked like at the start of 2026 and what it looks like now
    * what a hallucinated AI vulnerability report actually looks like — the asymmetry example that sounded serious and wasn't
    * why the domain knowledge of the person running the scanner matters more than the scanner itself
    * how the OTP team triages reports: domain knowledge first, then AI agents to help narrow it down, then human verification
    * the full fix pipeline: from GitHub advisory to coordinated patch release across three maintained OTP versions to CNA publication
    * what happens when a bug fix has a bug — and why that's more embarrassing than a partial fix
    * property-based testing as the tool the team uses to stop bugs from coming back
    * the one thing Ingela wishes every developer understood before filing a report: write the reproduction case in Erlang, include the full crash report, and don't leave details out
    * what companies depending on OTP can actually do to help — starting with the "Help Wanted" label on GitHub
    Companion episodes: BEAM Security Wake-Up Call with Jonathan Machen and Peter Ullrich; Bruce Tate on AI, juniors, and coding agents.
    Recorded October 1, 2026.
  • BEAM There, Done That

    Alex Koutmos on Elixir for Finance, Trading & Blockchain

    2026/10/02 | 1h 2 mins.
    Brex runs on Elixir. Klarna runs on Erlang. Mastercard is believed to use it. And most of the community that builds on these systems watches them with PromEx - a library written by today's guest.
    Alex Koutmos has been in the Elixir ecosystem for over a decade. He wrote PromEx - the Prometheus metrics library most of this audience runs in production - and he's just written Elixir for Finance with his brother Dimitrios, a tenured finance professor at Texas A&M. The book takes Livebook, Explorer, NX, and Scholar and points them straight at markets, trading strategies, and blockchain infrastructure.
    Topics include:
    why switching money and routing a stock order are the same problem as switching a phone call - and why the BEAM was built for both

    the ISO 8583 protocol story: 100 lines of C per message frame, dropped to 10 in pure Erlang, dropped to 4 with the bit syntax - and why nobody talks about this

    Explorer as an Elixir wrapper around Polars (a Rust data frame library) - why the BEAM delegates the heavy compute and keeps the orchestration

    how to use Livebook, NX, and Scholar to backtest a moving average crossover trading strategy without leaving Elixir

    why "let it crash" doesn't mean "let the money vanish" - and exactly how a ledger, Oban, and durable event storage keep the truth safe across process restarts

    the difference between a ledger and a database - and why a bank built on plain Postgres misses the point

    blockchain as a distributed ledger: the same distributed state problem the BEAM community was chewing on long before Bitcoin existed

    why fintech companies use Erlang and Elixir as a competitive advantage - and tell nobody

    BlockScout, Aeternity, and where BEAM languages already run in blockchain infrastructure

    what the Python and JVM financial tooling stacks miss that Explorer and NX cover - and where they still win

    Recorded August/September 2026.
    Resources mentioned:
    Elixir for Finance - the book

    PromEx on Hex

    BlockScout - open source Ethereum explorer written in Elixir

    Aeternity - blockchain built in Erlang
  • BEAM There, Done That

    Kip Cole on Time, Localization and Building Agenda

    2026/09/25 | 1h 9 mins.
    The Navajo Nation inside Arizona observes daylight saving. The Hopi reservation inside the Navajo Nation skips it again. There's a corner of the Yucatan Peninsula that takes 20 minutes to drive through and costs you an hour on your sat nav. No compiler warns you about any of this.
    Kip Cole has spent 10 years building the Elixir libraries that handle what software gets wrong about human reality: localization, time, and scheduling. CLDR/ex_cldr gave the ecosystem 173,000 Unicode characters and locale-aware formatting for numbers, dates, currencies, and units. Tempo remodelled time as an interval instead of an instant. And this week, Agenda shipped - the scheduling engine four years in the making.
    Topics include:
    why localization is not translation - the three things that go wrong in an e-commerce search before a single word has been mistranslated

    the 10-year weekend project: how a localization library for Elixir turned into 28 packages and a full rewrite into Localized

    why compile-time code generation with Elixir macros hit a wall - 1,000+ function clauses and quadratic compile times - and why moving to runtime fixed it

    the astronomical algorithms scar: three years of learning a new branch of mathematics to implement calendar software the BEAM was never designed for

    what Tempo makes explicit that everyone does by accident: time as an interval, not an instant

    why scheduling is just set intersection over everyone's free and busy intervals - and why that single insight collapses almost every hard scheduling problem

    how "sometime on Tuesday" is not a time but a domain error - and what Tempo forces you to say instead

    Unicode version 18, 173,000 human language characters, and why most language ecosystems still can't represent them correctly

    the difference between CLDR (the Unicode standard) and Localized (the Elixir implementation of it)

    what Agenda actually ships this week and what's next

    Recorded September 8th, 2026.
  • BEAM There, Done That

    Is Your Elixir Code Actually Fast? Tobias Pfeiffer on Benchmarking

    2026/09/18 | 1h 11 mins.
    Everyone has an opinion about whether the BEAM is fast or slow. Almost nobody has actually measured it properly.
    Tobias Pfeiffer -PragTob on the internet, benchmarking nerd, real-time engineer at Supabase -came to Elixir from Ruby because Ruby couldn't handle WebSockets at scale. Then he learned the language the way he learns every language: by building a benchmarking library. Ten years later, Benchee is what most of the Erlang and Elixir world reaches for when it wants a number instead of an argument.
    Topics include:
    why Tobias writes a benchmarking library every time he learns a new language -and what that discipline actually teaches about how a runtime works

    the production scar: a benchmark that showed one query was faster, deployed it, and discovered the benchmark had been measuring the wrong input entirely

    the single most important insight about benchmarking: most people quietly fool themselves and walk away more confident and more wrong than when they started

    inputs as a first-class feature -the lesson José Valim taught Tobias within 17 minutes of an open GitHub issue

    why body-recursive map is faster than tail-recursive map for small lists on the BEAM -and what that tells you about the runtime

    what reductions are, why they're a more stable measurement than wall time, and when they diverge

    how Benchee measures memory: spawning a monitored process, watching GC events, reporting exact bytes -and why deterministic code gives deterministic memory

    the JSON benchmarking arms race -built-in OTP JSON, jason, Jiffy, and why comparison benchmarks usually miss the point

    why Benchee has no macros, no DSL, and deliberately only uses functions -and why that design decision made it composable in ways nobody predicted

    the hardest benchmarking mistake to stop making: confusing latency and throughput

    what Toby wishes more Elixir developers understood about BEAM performance before they opened a PR claiming something was faster

    Recorded August 21, 2026.
    Resources mentioned:
    Benchee on Hex: hex.pm/packages/benchee

    Benchee HTML formatter -self-contained HTML output with downloadable graphs

    Benchee markdown formatter

    PragTob on GitHub: github.com/bencheeorg
More Technology podcasts
About BEAM There, Done That
BEAM There, Done That is a podcast about building real systems with Elixir, Erlang, and the BEAM. We’ve built it before — distributed systems, fault‑tolerant services, event pipelines, real‑time apps, production nightmares, and the supervision trees that saved them. Each episode dives into practical lessons from shipping software on the BEAM: architecture decisions, scaling challenges, operational failures, and the patterns that actually work. No hype. No theory without scars. Just hard‑won experience from engineers who’ve been there.
Podcast website

Listen to BEAM There, Done That, The AI Daily Brief: Artificial Intelligence News and Analysis and many other podcasts from around the world with the radio.net app

Get the free radio.net app

  • Stations and podcasts to bookmark
  • Stream via Wi-Fi or Bluetooth
  • Supports Carplay & Android Auto
  • Many other app features