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.

Topics covered:

  • 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.

For a deeper dive into distributed Erlang here’s the official reference.

Introduction to Distributed Erlang from Bryan Hunter on Vimeo.

Phoenix Channels via F#

My 2016 F# Advent calendar post Continue reading

NDC Oslo 2015 - The FP Track Cheatsheet

Published on June 16, 2015

Elixir Immutability

Published on February 14, 2015