Quantcast
Channel: Docker Swarm + Phoenix Channels
Browsing all 9 articles
Browse latest View live

Docker Swarm + Phoenix Channels

@hildersantos wrote: Hi friends! My team are going to use Docker Swarm on production, and I made a simple chat application to test Channels communication/broadcasting through containers. The problem...

View Article



Docker Swarm + Phoenix Channels

@aseigo wrote: The most likely reason you are not seeing messages is that the different BEAMs in the different containers are not set up in a single cluster, but are running each on their own. So: How...

View Article

Image may be NSFW.
Clik here to view.

Docker Swarm + Phoenix Channels

@hildersantos wrote: Thanks! I’m currently using something with epmd, and still studying some way to achieve dynamic clustering with Swarm. Read full topic

View Article

Docker Swarm + Phoenix Channels

@Aetherus wrote: Try Peerage. Though it’s designed to work with Kubernetes, it also works with Docker Swarm. You need to understand many things before you can successfully deploy a replicated,...

View Article

Docker Swarm + Phoenix Channels

@Aetherus wrote: Now I actually have a question, since peerage connects all the replicas after the Phoenix app starts, what will happen if I create a global GenServer and start it at the same time...

View Article


Image may be NSFW.
Clik here to view.

Docker Swarm + Phoenix Channels

@hubertlepicki wrote: So this is interesting topic you are bringing up. If you are using Phoenix channels in a cluster, it is likely using the default PG2 back-end. This back-end is using the pg2...

View Article

Docker Swarm + Phoenix Channels

@Aetherus wrote: Many thanks, @hubertlepicki, that’s a very informative answer. I’ll try these solutions this weekend. Thanks again. Read full topic

View Article

Docker Swarm + Phoenix Channels

@Aetherus wrote: Yet another question: we know that Node.connect/1 accepts an atom that is the node name to connect to. In an orchestrated environment, container IP addresses tend to change during...

View Article


Docker Swarm + Phoenix Channels

@hubertlepicki wrote: The problem would be only visible if you are in a hot deployment environment and do many many many deployments, right? Otherwise, on a cold stop deployment, the atom tables get...

View Article

Browsing all 9 articles
Browse latest View live


Latest Images