Why go for Redis when you can use Mnesia?
Mnesia is cool. It’s quite cryptic but worth the pain. Already present in the OTP framework, it’s easy to use in both simple cases and out-of-the-box replication inside a cluster. This article covers what happened when we implemented Mnesia, including the difficulties we encountered and the results we got.
https://www.welcometothejungle.co/articles/redis-mnesia-distributed-database
Read next Elixir vs. Ruby and Phoenix vs. Rails