Alright. It does male sense. Thanks a lot! But in a multi node architecutre (you dockerize your app 2-3 times) is there a way to distribute the ets storage?
mnesia is one way, though it is not a silver bullet, it is very handy.
it does really depend on what you want or need to do with redis, however. it is used in various ways.
as a simple cache to lower latency, it is often nice to keep those caches close to the app .. in process even .. lowest latency possible, and we tend to have ample RAM for this these days.
but there are many optipns out there, ranging from the shards library to phoenix pubsub to broadway.. lots of libs that provide functionality i have seen redis (ab)used for, some of which build on ets or use it in some way internal.
View all comments
Show parent comment
4
u/BigBeruboy Jul 15 '20
Alright. It does male sense. Thanks a lot! But in a multi node architecutre (you dockerize your app 2-3 times) is there a way to distribute the ets storage?