LazarusLong42 said:
OK, my credentials mostly run to PHP and mySQL coding, but I'll chime in here to agree that the two-boxes approach is most definitely the way to go. It's also relatively easy to do: one box is already available, the current server. Unless the current server is in desperate need of repair, I'd suggest leaving Apache/PHP running on that box, and using the new box for the mySQL data-serving only. If the new box is piping data ~3 times as fast as the old one, then the CPU load on each ought to be about equal (if mySQL is taking 75-80% of the server time on the current box). The only downside to the two-box approach is the data transfer overhead between the two boxes.
Hmm. That is not a good idea. In vBulletin you can set a debug parameter in the admin panel. Append &explain=1 to the URL to see info about how long this particular page took to load.
Here are some stas from forum.sweclockers.com
forumdisplay.php
Page generated in 0.147233963013 seconds with 20 queries,
spending 0.00681686401367 doing MySQL queries and 0.140417098999 doing PHP things.
index.php
Page generated in 0.0895259380341 seconds with 19 queries,
spending 0.0127546787262 doing MySQL queries and 0.0767712593079 doing PHP things.
showthread.php
Page generated in 0.390783071518 seconds with 23 queries,
spending 0.0175514221191 doing MySQL queries and 0.373231649399 doing PHP things.
PHP is the bottleneck, not MySQL. And the current server is _slow_ IIRC it's a P4 Willamette (not even a northwood) with IDE-drives.
My advice: Use only one server for now, a powerful one with dual CPUs. It will certainly handle up to 50000 forum members (my forum choked at 45000 members, but that was a dual 2.4 GHz Xeon which is slower than most operons).