WordPress – Syncing multiple wordpress web servers in a farm

replicationwebsiteWordpress

My company will shortly be setting up a blog, and I'm planning on setting up two web servers to host the wordpress website for redundancy. Normally when we do releases to a site in a farm we push to one side, test and then release to the other side. For wordpress updates we can do this easily enough. However the problem becomes how to handle the wp-content folder. As people will be publishing posts, and uploading graphics these will need to be synced to the other server in the farm no matter what server to user uploads them to.

I could setup DFS to replicate the files, but that seams like overkill.

I could setup robocopy to run every 15 minutes or something, then tell everyone that posts to be sure to schedule the post to be published in at least 15 minutes so that the files have time to replicate.

Are there any better solutions out there? Perhaps something a wordpress plugin so that when graphics are uploaded to the post they are automatically replicated to the other servers in the farm?

I'm running WordPress on Windows 2008 so Linux solutions won't help much.

Best Answer

We've used Super Flexible File Synchronizer for stuff like this in the past. It works really well and has a number of options to control syncing.

Related Topic