On 1/24/07, Brion Vibber brion@pobox.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Russ Lavoie wrote:
Let me explain a little more, rsync has to tally up all the files in the directories you will be sharing between the two servers which puts an unnecessary load on the system (plus it isn't always up-to-date on both servers). I would like the updates to be real time.
Why?
Are you really going to be *constantly editing the source code*?
In our experience this is relatively rare; even with our very active code development and hundreds of sites which occasionally need configuration changes we may go days between code pushes.
Just to clarify in case it's unclear to Russ:
The mediawiki CONTENT (article pages, etc) is not hosted on the webservers. It's in the database server(s). Except for the images, and handling that via a NFS server works fine (or, worked fine for me, with my testing, I don't run it in production).
The webservers only need to be synchronized if you change something in the MediaWiki configuration. Rsync or the equivalent will work fine (or CacheFS, or...).