Different implementations of a process ring loop in Elixir