Reactor Under the Hood at Code BEAM Europe 2025
The video of my Code BEAM Europe 2025 talk on Reactor's internals is out - plus reflections on the trip through Munich, Berlin, Prague, Budapest and Vienna with Jane.
Code Sync have just published the video of my talk from Code BEAM Europe 2025 in Berlin, so this feels like a good moment to write up both the talk and the trip that surrounded it.
Reactor Under the Hood
At NervesConfEU I gave a talk about the weird things you can do with Reactor - hacking the startup sequence of Nerves devices and the like (I wrote that one up in Powering Up Applications with Reactor). This talk is the opposite: instead of what you can build with Reactor, I lift the lid and show how it actually works inside.
Reactor is a graph-based, concurrent saga runner. You describe a workflow as a set of steps and their dependencies, and it works out the ordering, the concurrency and the failure recovery for you. In the talk I get into the parts I'm proudest of: the saga semantics that give you transaction-like rollback across system boundaries, the shared concurrency pools and the trick that stops nested reactors deadlocking, and an executor whose entire engine is one boring little with statement. My favourite bit is retry backoffs - they're just vertices in the graph, an idea that fell out of conversations at Goatmire a couple of months earlier and landed as a single line of code.
If any of that sounds like your kind of fun, the video's up top. Go have a watch.
The trip
Jane and I both travel a fair bit for work, but somehow Code BEAM Europe was the first time we'd travelled together. We made a proper adventure of it.
Munich
We flew from Aotearoa via Auckland and Singapore into Munich, and made a beeline for the Deutsches Museum. For an aerospace nerd like me, that place is cocaine to a yuppie. I lost myself completely.
We rolled into Berlin that evening, checked into the lovely Estrel, and fell straight into bed.
Berlin
The conference itself was great. As with Goatmire, the real value was the people - catching up with colleagues, open source collaborators, and the friends I'd made on my previous European trip.
The unexpected highlight of Berlin, though, had nothing to do with Elixir. I got to catch up with my old friend Marek, whom I hadn't seen since Poland in 2003. Twenty-two years, and we picked up right where we left off.
Prague
Once the conference wrapped, Jane and I carried on to Prague. We saw nutria in the Vltava, walked the Charles Bridge, and visited the crypt beneath the Cathedral of Saints Cyril and Methodius, where the paratroopers of Operation Anthropoid made their final stand - a sobering, unforgettable place.
Then, because I can never fully switch off the maker brain, we took a tour of the Prusa factory.
Budapest
Budapest stole a piece of my heart. The food was extraordinary, the welcome at our hotel was genuinely warm, and even getting lost on the underground was a treat - the metro is beautiful. We spent happy hours in the Metropolitan Ervin Szabó Library and the Aquincum Museum, and up at Fisherman's Bastion Jane got to hang out with an enormous bird of prey.
Vienna
We didn't have much time left by the time we reached Vienna, but we made it count with a visit to the Belvedere. What an astonishing gallery to finish on.
Coming home
Huge thanks to Alembic, who fund my work on Ash and Reactor and got me to Berlin in the first place. And thanks to Jane, for making a work trip into the adventure of a lifetime.