What performance tips can be offered to someone running a LAMP server?
In the instance that something is Distribution specific, I'm targeting Debian.
|
What performance tips can be offered to someone running a LAMP server? In the instance that something is Distribution specific, I'm targeting Debian. |
|||||
|
|
it really depends on your workload.
not really performance tip - but do take offsite backups. really. |
|||||||
|
|
I really suggest separating MySQL and Apache/PHP on two different machines. For example, I had one machine (C2D E6600) that always spiked to 2.0 and above load average. I put the MySQL on a second machine (P4C 3Ghz) and after that both load averages did not go above 0.2-0.3. So I went from a really slow site to a fast site with two servers having a lot of performance margin. |
|||||
|
|
For the P part, you could consider opcode caching with i.e. APC. One could also consider mod_fastcgi with php instead of the default mod_php. |
||||
|