[Mediawiki-l] Load Balancing?
brion at pobox.com
Wed Jan 24 17:32:15 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Tim Starling wrote:
> Russ Lavoie wrote:
>> Is there a way that I can run one wiki site on multiple servers for load
>> I have searched everywhere I could think of but I am unable to find any
>> documentation on how this would be accomplished.
> Have all of your apache configuration, document root and MediaWiki script
> files in a directory on the local hard drives of the application servers,
> synchronised on demand with a master copy using rsync. Put the image
> directory on a network filesystem such as NFS. You can use any HTTP load
> balancer in front: squid, pound, LVS, etc.
Two additional notes:
1) Be sure to keep the servers' clocks in sync! A standard NTP system
2) PHP's session storage is used to handle login sessions. Session data
must be stored in a common location unless your load balancing system is
"sticky" (sending a given client always to the same server). A networked
filesystem will usually do fine, or we have the 'sessions in memcached'
sample implementation of storing session data in a shared memcached cloud.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the MediaWiki-l