# Discourse High Availability setup multi master

**URL:** https://meta.discourse.org/t/discourse-high-availability-setup-multi-master/147371
**Category:** Self-hosting
**Created:** [April 9, 2020, 3:47am UTC](https://meta.discourse.org/t/discourse-high-availability-setup-multi-master/147371 "2020-04-09T03:47:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MicWit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/micwit/32/176301_2.png) [@MicWit](https://meta.discourse.org/u/MicWit)
#### Post date: [April 9, 2020, 3:47am UTC](https://meta.discourse.org/t/discourse-high-availability-setup-multi-master/147371/1 "2020-04-09T03:47:20Z")

</div>

Hi,

I have never used Discourse before (I have used PHPBB) but am looking at the option for future forums as I like the interface. At the moment I run PHPBB through reseller hosting on a cpanel account. Of course this won’t work for Discourse, so I am looking at running it how I am running a few other services.

Both myself and a few mates run ProxMox servers at our own homes. I have set up a container on ProxMox that essentially runs as a DDNS back to my cPanel account and updates sub-domains as required. For HA I then have the same on my mates servers and a PHP script on a cron job on the cPanel server points all the domains to where ever is live. Those subdomains then hit a Reverse Proxy on the ProxMox server and are sent to the container required. We are about to set up a MySQL server as a container that will sync across the internet between servers (we can potentially use this as load balancing as its a multi-master setup).

If we are to use Discourse, I would need something similar set up. Is it possible to set up Discourse across (potentially slow) an internet connection to sync 2 instances and use both as masters?

Thanks

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [April 9, 2020, 3:54am UTC](https://meta.discourse.org/t/discourse-high-availability-setup-multi-master/147371/2 "2020-04-09T03:54:26Z")

</div>

Syncing MySQL across domestic internet connections is going to be truly painful.

It’s designed for use between nodes in a datacenter with microseconds of latency.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 9, 2020, 3:59am UTC](https://meta.discourse.org/t/discourse-high-availability-setup-multi-master/147371/3 "2020-04-09T03:59:26Z")

</div>

Discourse doesn’t use MySQL, it uses PostgreSQL.

PostgreSQL doesn’t have a native multi master feature, so this isn’t a supported use case at the moment.
