home.social

#prosodyim — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #prosodyim, aggregated by home.social.

  1. 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
    • a lock file controlling if entrypoint script can up Prosody
    • a daemon checking if floating ip is linked to hosts and controlling the lock file and the lsyncd execution and configuration to primary/standby modes

    Perfect solution? Of course not.
    Effective solution? Hell yeah.

    :isacloud: :isacloudim:

    #xmpp #failover #container #vrrp #prosodyim #prosodyim

  2. 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
    • a lock file controlling if entrypoint script can up Prosody
    • a daemon checking if floating ip is linked to hosts and controlling the lock file and the lsyncd execution and configuration to primary/standby modes

    Perfect solution? Of course not.
    Effective solution? Hell yeah.

    :isacloud: :isacloudim:

    #xmpp #failover #container #vrrp #prosodyim #prosodyim

  3. 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
    • a lock file controlling if entrypoint script can up Prosody
    • a daemon checking if floating ip is linked to hosts and controlling the lock file and the lsyncd execution and configuration to primary/standby modes

    Perfect solution? Of course not.
    Effective solution? Hell yeah.

    :isacloud: :isacloudim:

    #xmpp #failover #container #vrrp #prosodyim #prosodyim

  4. 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
    • a lock file controlling if entrypoint script can up Prosody
    • a daemon checking if floating ip is linked to hosts and controlling the lock file and the lsyncd execution and configuration to primary/standby modes

    Perfect solution? Of course not.
    Effective solution? Hell yeah.

    :isacloud: :isacloudim:

    #xmpp #failover #container #vrrp #prosodyim #prosodyim

  5. 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
    • a lock file controlling if entrypoint script can up Prosody
    • a daemon checking if floating ip is linked to hosts and controlling the lock file and the lsyncd execution and configuration to primary/standby modes

    Perfect solution? Of course not.
    Effective solution? Hell yeah.

    :isacloud: :isacloudim:

    #xmpp #failover #container #vrrp #prosodyim #prosodyim