Shelf wraps ETS and DETS to give you the speed of in-memory storage with automatic disk persistence. Your data survives restarts without any manual save/load logic.
shelf
Persistent ETS tables backed by DETS — fast in-memory access with automatic disk persistence for the BEAM.