Get the latest tech news

Elixir/Erlang Hot Swapping Code (2016)


Hot code reloading with Elixir and Erlang

For example, Erlang releases happen in seconds because of the functional approach taken by the language, this compared to other systems like Docker and/or Kubernetes which may take several minutes or hours to transition a version because there is no safe assumptions to make about running code. This post will be a small tour through how Elixir and Erlang can perform code hot swapping, and how this can be useful for deployments. Thus, we are able to hot-swap running code, without stopping, losing state, or effecting processes waiting for that data!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Elixir/Erlang

Elixir/Erlang