Jump to content

Load balancing

Featured Replies

Posted

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

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. 

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.....

  • Author

@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?

8 hours ago, Gabriel Torres said:

 

@Dll But I'd still use NFS for the /uploads directory, right?

 

Yes, that's what we do.

  • Author

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...

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.