PDA

View Full Version : more mySQL or PHP?


N9ne
Fri 27th Sep '02, 6:56pm
I have vbmicrostats installed so I can see how much mySQL and PHP is being processed, is it better to have more percentage of mySQL or PHP, and why?

eva2000
Sat 28th Sep '02, 1:46am
not really the question you need to be asking.. but generally i would think more percentage (more work) by php would be ideal as you can then separate to 2 server setup one for web server and one for database server, and if the php percentage is higher you could scale better by adding a load balanced web servers and caching apps like zend accelerator and php accelerator

as opposed to more load on mysql server it would be harder and more complex to scale up 1 database server which can't be load balanced and where mysql replication isn't the ideal for message boards