drathbun wrote:More RAM helps assuming you use it. Faster CPU would make the php code execute faster.
What sort of site are you running? Meaning how many concurrent users do you have? My server regularly supports hundreds of concurrent users without problems, and I've seen over a thousand concurrent users during peak hours. Do you have more than that? Are people complaining about web site speeds? Half a second should not be that noticeable to your users.
My web have 20M pageview/month , concurrent user at peak time around 1600 user with average 17 pageview/sec , I seen sometime up to 30 pageview/sec . server still handle it. Many core also help this. but the PHP time is what I need to reduce.
welcome to visit my site , http://www.thaimtb.com/forum
Oleg wrote:Scaling php part is a lot easier than scaling the database. If you are looking to improve performance, get a faster processor (clock speed, not core count).
Thanks Oleg, I think so.
bantu wrote:Upgrading to the latest stable PHP branch (PHP 5.3 at this time) is usually a good idea.
If you have the RAM, using memcache should give you another small speedup.
Also, you could use a Debugger/Profiler like XDebug to see where PHP spends most of its execution time. Maybe it is something obvious that can be improved for your workload.
I already use lastest PHP 5.3.?. Is Memcache only for database ,right? not help on php?
I never know about debug . I will study about this. Thanks



