2 ms·
If you don't do a `kill -9 <your_app_pid>` then any of your processes inside will be restarted with last-known good state which the Erlang VM (BEAM) keeps inter
by pdimitar 9y ago
If you don't do a `kill -9 <your_app_pid>` then any of your processes inside will be restarted with last-known good state which the Erlang VM (BEAM) keeps internally. It's not backed by disk state. It's a VM-wide guarantee, so to speak.
The official Elixir tutorial has an OTP chapter in which you are encouraged to actively kill processes and observe them being restarted with good state in real time:
https://elixir-lang.org/getting-started/mix-otp/dynamic-supervisor.html https://elixir-lang.org/getting-started/mix-otp/dynamic-supe...