On Wed, Mar 17, 2010 at 5:23 PM, Jon Bennett <[email protected]> wrote:
>> Has anyone got any tips on performance monitoring and profiling a cake app?
>
> In terms of profiling - it sounds like its the DB that's being
> sluggish, how many hits are you getting? on what spec server? if you
> have access you could run
> http://www.webdevelopmentstuff.com/123/optimizing-mysql-performance-tuning-script.html
> to try and optimise your mysql server.

Always there with solid advice JB - ta!

Yeah I think I'm just too lazy when it comes to indexes.  Definitely
using Containable, but should probably be making better use of
caching.

Whilst there is the core cache library which is great, do you use any
kind of component in front of this to abstract it?  Or is it a case of
manually checking whether the cached element exists in your controller
action and then if not fetching from the DB?

-- 
Alex Bovey
Web Developer | Alex Bovey Consultancy Ltd
Registered in England & Wales no. 6471391 | VAT no. 934 8959 65
[email protected] | t 0844 567 8995 | m 07828 649386 | f 0870 288 9533
PHP | MySQL | AJAX | XHTML | CSS | Javascript | XML | W3C Accessibility

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to