Both are not equal at all. Redis you can definitely do without. A database you can't skip in most apps.
Sessions work quite fine in Elixir's local cache as well. :)
Re:How to Fix Slow Code in Ruby
by joelbluminator on Thursday May 14, 2020 @07:25PM
(#23186905)
> Redis you can definitely do without.
This seems to suggest otherwise https://hex.pm/packages/redix, Why is the redis client is so popular in Elixir world? For such a small community 3+ million downloads is huge.
We're also dependent on mysql, are you gonna implement that in Elixir as well? Redis is a great piece of software, and it's a real SHARED cache, so it could work for sessions or other small state management you sometimes want to remember for example. What you described won't work for that.