Erlang, Elixir, Chaos Engineering, Testing, Benchmark.
state, where it receives the messages from the bootstrap process, and once it receives the last message, it can replay the queued ops: replica() -> receive {bootstrap, K, V} -> import_up(replica, {write, K, V}), replica(); bootstrap_done -> replay() end. replay() -> receive {tlog, Op} ->