I have set up a brand new install on a small VPS running Debian 8. I also have Nginx, MariaDB and PHP7-FPM installed.
Coming from a WordPress background, I usually pass all my sites through Varnish and edit the configuration to cache certain bits. This allows me to have a mammoth amount of traffic on the same small VPS.
Having spoken to people on the Gitter channel, it is my understanding that Varnish is not compatible with Flarum. Therefore, I ask how I can increase the amount of concurrent visitors on the site. So far, the server will fall over with around 1000 visitors in a minute using various online load testing tools. Site also becomes unresponsive with 60% cpu load with 500 visitors. My WordPress sites, even a forum, will be able to withstand a few 100k visitors when not logged in and a few thousand when logged in.
Not that the forum will get that many visitors, but I'd like to make sure it could cope if there was a traffic spike etc.
Anyone have any ideas? I have pretty much optimised the hell out of the server and although it is better than what Apache will cope with, the stats so far are a bit low.
Thanks in advance!
Screenshots here:
https://www.fwddd.io/loader.png
!https://www.fwddd.io/top.png