livebook-dev / livebook

Automate code & data workflows with interactive Elixir notebooks

Home Page:https://livebook.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support epmdless runtimes

josevalim opened this issue · comments

Desktop mode should run without epmd by default via LIVEBOOK_EPMDLESS=true. We will change the runtimes to be of the format livebook-runtime-PORT (we need to figure out how Erlang finds the available port. is it just random?) and implement a custom -epmd_module (such as this one) that intercepts "livebook-runtime-" nodes and extracts the port out. Then we can use -start_epmd false.

The Elixir standalone runtime on epmdless mode would also need to set -start_epmd false and -epmd_module(which implies we would need a mechanism to share the-epmd_moduleitself), perhaps by simply pointing to itsebin`.

This should improve the Livebook Desktop experience for those behind VPN and poorly configured machines.

Closing in favor of #2591.