So, I'm sure this is possible, and according to Chris on an earlier message this is supposed to be easy. But the client wants to translate an already built API (In PHP....) that he forecasts will need to spill over onto multiple boxes in order to handle the load. That's why he's looking into Elixir/Erlang, for the easy concurrency.
It seems that running a Phoenix instance with channels will be much better than trying to roll my own GenServer, etc. Problem: I've nowhere seen any examples of how to run a single Phoenix app on multiple nodes; nor how to design one to run on said nodes. Is this easily achievable with Phoenix out of the box (I'm thinking of a master/slave scenario, perhaps, with a central server that directs traffic--likely calls to a variety of Ecto models-- to various database hosts). Or maybe I should run Riak or CouchDB and use their prebuilt scaling; maybe with a ejabberd box?
I'm just spitballing here; I don't know the clients setup enough yet to define the true task; but I've worked a bunch with Phoenix lately and I'd like to continue to use it; and it seems like this is the sort of thing that should be in Phoenix's wheelhouse. Just no instructions on how to pull it off, sadly.
Thanks in advance!