Connect Phoenix Apps to each other

Hey
i have a game server with 9k users which fully developed in elixir phoenix(channels) . now i need to scale but i dont know what should i do and how i can share players state between phoenix apps . also i need to connect this apps to each other . can any one help me ?
should i use RabbitMQ ? or redis to share states ?
sorry about my english :sweat_smile:

2 Likes

You should look at Distributed Erlang/Elixir and Phoenix PubSub

https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html

http://erlang.org/doc/reference_manual/distributed.html