Would it be a bad idea to deploy your app as a distributed cluster even though you won’t have much traffic to begin with? I understand “premature optimization is the root of all evil” but is having your app configured for distributed deployment an optimization decision or a design decision?
I wonder because I have a project that uses ETS tables and currently doesn’t get much traffic. But if I ever needed to scale it, I imagine I would have to use something like Mnesia instead.
No, it becomes valuable as soon as you have >1 instances for high availability. For example Phoenix channel broadcast and Phoenix presence will use clustering
for communicating between nodes.