I have an elixir application on two nodes. This is mainly for availability, so we are doing rolling deploys on them.
Now, I'm just coming back from elixir conference in berlin, and many talks were about scaling erlang beams on many nodes and the likes.
Our current setup is:
the app is containerized with docker and deployed on ecs. Its only purpose is to respond to api calls. There is a load balancer in front that route the requests in a round robin fashion on the two containers. So the two nodes are not aware of each other and behave like a single node application.
Is there some drawbacks by doing this? Is there something that I'm missing from the awesome erlang virtual machine? Should I join the two containers togheter?
Many thanks in advance.