Distributed Erlang lessons from Livebook
summary
Livebook runs each notebook on its own BEAM node, attaches to local Phoenix apps and can spawn remote runtimes (example: Fly.io) by setting a fixed distribution port (e.g. 44444), doing SSH or Fly port‑forwarding and using a custom EPMD that maps remote names to localhost and extracts the embedded port; it ships about 20 runtime modules as beam binaries and transfers them with :code.get_object_code / :code.load_binary so the remote node can evaluate notebook code — the setup works in production.
AI-written summary · about
chapters (9)
- 0:00Livebook and distributed Erlang
- 2:22Introduction
- 4:08Distributed Erlang and EPMD
- 6:13Custom EPMD implementation
- 8:42SSH tunnel clustering
- 11:58SSH tunnel setup
- 15:12Runtime code shipping
- 17:19Code transfer methods
- 19:06Summary and resources
related talks
38mDemos and Lightning Talks
10mBack to the Future
51mThe Erlang VM or How I Started Loving Parallel Progamming
01h 01mThe Erlang Ecosystem
42mThe Soul of Erlang and Elixir
46mDemos and Lightning Talks
41mIdioms for building fault-tolerant applications with Elixir
52mKeynote: Pilgrim's Progress to the Promised Land
