Powered by AppSignal & Oban Pro

The command log

livebooks/command_log.livemd

The command log

Setup

Connect this notebook to a running iex --sname al -S mix session first — see the intro for connection steps.

AL.Branch.head()

Forking

AL persists to a local, gitignored Mnesia store (.mnesiastore/ by default) that every iex/mix run/mix test invocation in a checkout shares unless told otherwise. Forks let multiple streams of work happen on the same node without conflict.

fork = AL.Branch.fork()
AL.Branch.checkout(fork)
AL.Branch.discard(fork)

Durability

ACID transactions