prosody / prosody-docker

Docker image building system for the Prosody XMPP server
https://hub.docker.com/r/prosody/prosody/
146 stars 49 forks source link

Can this image be deployed multiple times for failover/load balancing? #58

Closed c00 closed 4 years ago

c00 commented 5 years ago

Can this image be spun up multiple times for use in Kubernetes or Docker Swarm? And if so, is it stateless?

Zash commented 5 years ago

Load balancing would require clustering support, which isn't ready yet.

If you are very careful it may be possible to do a failover setup, if one makes sure to only have one node serving clients at any time. Otherwise you will get split-brain syndrome.