We have a site that has grown to the point that we want to serve it from two geographic locations plus have the added benefit of failover in case one of the two servers goes down. Our DNS is through Cloudflare and I know they offer a load balancing plan but what I don't know/understand is how this would work with a Joomla site.
Since the database and files all have to be kept in sync how do we do this kind of setup? I'd be grateful for any help or suggestions on this.
Load balancing with two servers using Joomla?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Explorer
- Posts: 449
- Joined: Sun Dec 04, 2005 7:27 pm
- Contact:
- Webdongle
- Joomla! Master
- Posts: 44083
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Load balancing with two servers using Joomla?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Explorer
- Posts: 449
- Joined: Sun Dec 04, 2005 7:27 pm
- Contact:
Re: Load balancing with two servers using Joomla?
Thank you, but that isn't what I am talking about. I don't want to run two different sites from one Joomla installation. I want to run one Joomla installation from two different servers simultaneously to increase performance and provide a failover backup if one of the two servers goes down temporarily.
-
- Joomla! Champion
- Posts: 5938
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Load balancing with two servers using Joomla?
Worth a read. https://en.wikipedia.org/wiki/Load_bala ... mputing%29
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
- Webdongle
- Joomla! Master
- Posts: 44083
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Load balancing with two servers using Joomla?
If you will not be changing the site then make a copy of the site ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- toivo
- Joomla! Master
- Posts: 17431
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Load balancing with two servers using Joomla?
There are High Availability (HA) solutions based on Apache's proxy balancer module or Nginx, combined with a HA MySQL proxy cluster, for example Galera:
https://www.nginx.com/blog/mysql-high-a ... a-cluster/
https://severalnines.com/resources/tuto ... y-tutorial
https://www.nginx.com/blog/mysql-high-a ... a-cluster/
https://severalnines.com/resources/tuto ... y-tutorial
Toivo Talikka, Global Moderator
- darb
- Joomla! Hero
- Posts: 2042
- Joined: Thu Jul 06, 2006 12:57 pm
- Location: Stockholm Sweden
Re: Load balancing with two servers using Joomla?
didnt you say ? " Since the database and files all have to be kept in sync how do we do this kind of setup? "maestroc wrote: ↑Mon Mar 25, 2019 1:29 amThank you, but that isn't what I am talking about. I don't want to run two different sites from one Joomla installation. I want to run one Joomla installation from two different servers simultaneously to increase performance and provide a failover backup if one of the two servers goes down temporarily.
How would you do that if you dont have a multisite syncronisation set up ? you still need loadbalancing, failover etc for the server side but your Joomla instance must know how to update/sync the data between the two sites or..?