We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Load Balancing | Forum

Topic location: Forum home » Support » General Questions
Michael
Michael Nov 15 '12
Is it easy to split oxwall up and run it from multiple servers? Has anyone done this yet and is it fairly easy?

We keep upgrading our server and buying more units but we think its coming to the point where we should really look into getting a second server and start load balancing.

My problem is I have never done this before so all advice is welcomed
Abbey
Abbey Nov 15 '12
My advice is talk to your hosting provider about your needs, they're the best ones for this job.
Joseph
Joseph Nov 15 '12
I am doing this now within the next few days with the help of my server admin I will let you know better details on this when we are finished but what we will be doing is moving the sql to its own server
Michael
Michael Nov 17 '12
@Joseph - Cheers, much appreciated.

@Abbey - My hosting company redirected me back to the developers of oxwall
Purusothaman Ramanujam
If you are on cloud, its possible that you could have your sql server in one instance and the apache in another instance.
Joseph
Joseph Nov 19 '12
yes this was successful we are now running our database off of one instance and our actual files and such are running from another we gain an extra virtual cpu because in cloud computing instances they usually have at least 1 cpu per so many gigs of ram so if you dont quite use enough ram and need a slight boost splitting up will help boost performance and make it easier to track bugs and resource usage better I have noticed a great boost in performance already so I suggest setting up a second server for your database 
Michael
Michael Nov 22 '12
What files need to be altered, I know the config.php file will have to be updated but what else.
Joseph
Joseph Nov 22 '12
that's it just setup your sql server and instead of using localhost you will enter the actual url you setup for it for instance I could set up my database at the url sql.wickednation.net and that would go in its place
Daniel Smith
Daniel Smith Oct 4 '22
Hello Michael, you can either create multiple instances on your VMs to distribute the load or you may want to look for another provider that offers Load balancing-as-a-service(LBaaS) which uses algorithms to optimize the load in the most efficient manner. I would suggest you go check services offered by ACE cloud hosting.