Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Gabriel Torres Posted August 1, 2017 Posted August 1, 2017 Hi, We've done load balancing in the past with a different platform, and we are now considering adding a second web server. My main concern is how to deal with installing apps, plugins, and upgrading IPS. In the past we shared only folders where users could upload contents, such as the /uploads folder. Should we share the whole website's root folder with NFS instead? Could anyone who has load balacing enabled chime in? Thank you in advance. Cheers, Gabriel
Dll Posted August 1, 2017 Posted August 1, 2017 We've found that in terms of performance, the way forward with apps etc is to install onto a single box and then clone that for use behind the load balancer. That does add some time and planning for installing and updating apps, but does pay off beyond that. I'd personally not recommend using NFS for them.
ASTRAPI Posted August 1, 2017 Posted August 1, 2017 You can use clustering with Master /Slave servers using GlusterFS files replication and MariaDB Galera Cluster database replication so everything you do on the Master server it will auto replicate to all slaves But is a bit complex for a proper setup.....
Gabriel Torres Posted August 1, 2017 Author Posted August 1, 2017 @ASTRAPI, thanks, but that sounds complicated. Also you mention MariaDB, I was asking about webservers (we use separate machines for webserver and DB server). @Dll But I'd still use NFS for the /uploads directory, right?
Dll Posted August 2, 2017 Posted August 2, 2017 8 hours ago, Gabriel Torres said: @Dll But I'd still use NFS for the /uploads directory, right? Yes, that's what we do.
Gabriel Torres Posted August 2, 2017 Author Posted August 2, 2017 Perfect, thanks @Dll. I am still investigating the cause of the bottleneck, and maybe we won't need this upgrade at the moment, I think it is a software issue that is causing the server load to be so high...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.