Hi, I was making some performance tests for my application and I'm pretty scared to see how much CPU is Cake (1.2) using while put in a moderate traffic. I was doing : ab -n 1000 -c 20 (I'm still not sure how does it translates to "real traffic" but used it as a method to stress the server)
Test was run from a different machine and I was checking top command on the tested server. I've got pretty good results in terms of requests per second : Requests per second: 36.16 [#/sec] (mean) but "top" showed heavy server load with CPU getting up to 90%. I was stressing a pretty loaded controller with bunch of models included but I also made tests for a static page which was put inside "pages" - that gave me CPU around 70/80%.. still quite high. I'm running a dedicated server with : 2.8GHz Pentium D, 800MHz, 2x2MB Cache 4GB DDR2, 533MHZ Lighttpd 1.4.15 Eaccelerator Can you tell if this kind of behaviour is "normal" ? What makes such a heavy load ? Lot of files included ? I would be greatfull for all the tips on how to reduce this as I'm expecting growing traffic in the next weeks/months and I don't want to run into problems. Thanks, Andrzej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
