I've been playing around a bit with Flarum on a single server with good results so far. Now I'm wondering if it's possible to host flarum in a multi server environment, more specifically:
- Nginx-1.19 + php-fpm7.4 will run on every server with identical configuration
- Syncthing peer to peer live sync will be used to sync the web root directory
- MariaDB 10.4 + Galera will keep a multi master database in sync to allow each node to connect to the database locally.
I've tried this approach for some other sites, mostly less complex than Flarum with good results, but how would Flarum work in an environment like described above? any pros or cons? has anyone actually tried that or similar for horizontal scaling?