Here’s an introduction to distribution in Erlang. This screencast demonstrates creating three Erlang nodes on a Windows box and one on a Linux box and then connecting them using the one-liner “net_adm:ping” to form a mighty compute cluster.
- Using erl to start an Erlang node (an instance of the Erlang runtime system).
- How to use net_adm:ping to connect four Erlang nodes (three on Windows, one on Linux).
- Using rpc:call to RickRoll a Linux box from an Erlang node running on a Windows box.
- Using nl to load (deploy) a module from one node to all connected nodes.
Special treat: If you ever wondered how I talk when I’m very sleepy here’s your big chance.