How-to: setup FUDForum in a large environment [message #165334] |
Fri, 27 May 2011 11:11 |
eclipsewebmaster
Messages: 46 Registered: November 2009 Location: Ottawa, Ontario, Canada
Karma: 0
|
Member |
|
|
At Eclipse.org we probably have a larger-than-average forum installation. With over 600,000 posts and 81,000 user accounts, our website (and forums site) is busy.
Three Apache web servers are load-balanced by a Cisco CSS (content services switch). We use two MySQL database servers in a master-slave setup, and I've recently contributed patches for FUDForum to use both the master and slave. Our database servers serve data for the Forum, our Wiki, our website, Bugzilla and various other sites. The Master handles over 750 questions/second, and the Slave about 300 questions/second.
Most of our tables use the InnoDB storage to reduce table locks, and a 4G RAMdisk is used for temp tables and files. Each DB server has 48G of RAM, and vmstat reports very little disk usage, meaning all our frequently used tables are stored in RAM.
Our forum App files and data files are stored on an NFS server in two separate locations. The App files are replicated to the local disks of each webserver regularly to improve performance and reduce NFS calls, whereas the data files (the FUDForum directory) stays on the NFS mount for shared access to writable data. Our webservers use the APC cache. When we need to edit a template, we update GLOBALS.php to point to the shared App location, rebuild the template then replicate the files to the nodes.
That's essentially how we're set up. I'm just putting this out there in case folks need hints or tips for better scalability.
|
|
|
|