Using :dets for Persistent Caching and Avoiding Data Loss
:dets allows us to persist items on disk quickly and natively in Elixir, however there is a small chance we can loose data when using this method. In this article we discuss how to create a persistant cache module in Elixir with :dets, why we can lose data and what we can do about it
https://learn-elixir.dev/blogs/avoiding-data-loss-with-elixir-dets
Read next ThinkingElixir 142: Orion for Distributed Tracing in Production