[wp-hackers] Load Balancing | Media Uploads to Multiple Servers
spellham at gmail.com
Wed Aug 5 17:29:19 UTC 2009
Thanks for the input Eric...
So what happens when the 'central location' gets cutoff from the world:
massive communication failure, hardware failure, fire, [insert your own
A central location for the site isn't acceptable if that 'central location'
(I'm guessing you mean some sort of NAS/Network Storage) gets cutoff from
the world. I'm speaking in terms of separate www/db servers that are
geographically dispersed. If the 'web heads' both pulled from a central
location (easier to maintain... but...) there is still a single point of
failure. If our east coast servers go down, the west coast would have
access to all content that had been successfully sync'ed and/or replicated -
both in the respect of replicated mysql (separate servers) and two or more
web servers that are synced as applications are modified and/or content
I fail to see how not replicating data (mysql, application, content data)
across multiple servers prevents a single point of failure.
On Wed, Jul 29, 2009 at 9:49 PM, Eric Marden <wp at xentek.net> wrote:
> On Jul 29, 2009, at 10:00 AM, Steve Pellham wrote:
> Is anyone aware of an existing plugin for the post editor pages and/or
>> gallery that would push uploaded media (images, video, etc....) to
>> servers in cases where a WP installation is load balanced?
> You shouldn't have two copies of your site out there. Pick a central
> location for the entire site and mount the directory from there to both your
> 'Web Heads', which would include your wp-content/uploads folder. I generally
> use the DB Server for this, instead of trying to replicate mysql across both
> full stack LAMP boxes, and have both instances talk to that DB on a private
> - Eric Marden
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers