On Dec 15, 2007 3:00 PM, Pillow <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I've website which has about 30000 uniq visits per day (up to 1500
> online). The problem is that CMS written on CakePHP consumes too much
> of CPUs power.
>
> Almost everything is beeing cached (whole views, sometimes db
> results).
>
> In addition the same site was earlier driven by some poor free system
> which hadn't even had cache, and the CPU usage was about 6 times less.
>
> Do you have any tricks and tips to speed up system based on cake?
>

Sounds like it was poorly designed, as 30000 hits a day isn't what I
would consider high traffic.  However, I would suggest the following:

1) install a PHP opcode cache like APC
2) make sure you have appropriate database indexes in place
3) spend some time profiling your code using tools like Xdebug and
Cachegrind to find out where the slow spots really are.


-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to