For those who run #ProsodyIM as #xmpp server, I did something simple but effective in my failover architecture:
* 2 Prosody instances in two different regions in a datacenter
* lsyncd syncing from primary to stand by instance all data
* an entrypoint script supervising Prosody execution […]