Live coding elixir / hot reloading

Are there any good tutorial on live-coding in Elixir, for things more complicated than HTTP GET/POST/PUT requests?

The idea is that we start a running system, then instead of turning everything down to upgrade, we just hot reload modules.

For example, if you have a “stateless” system, where each request comes in, and the system maps it to a DB transaction, and runs it, then “hot reloading” the stateless layer isn’t very interesting/difficult, because, well, there is no state to migrate, and it is easy to do.

What I am curious about is live coding / hot reloading stateful services (i.e. not REST handlers off loading all state to the DB)

1 Like