Wrapping Up
Learn what happens when the BEAM’s memory goes away or the host reboots.
We'll cover the following...
Data durability
The code we’ve written so far will work great as long as the BEAM stays up. If we restart the BEAM for any reason, though, the ETS table we created will be gone along with all its data. To handle BEAM restarts, we need more durability.
The way to get that durability is similar to the way we recover data from ETS, just taken one step further. To recover the state when a process restarts, we store it outside the process or any processes linked to it. To recover the state after the BEAM restarts, we need to store the state outside the BEAM.
The ...