Monday, October 4, 2010

Re: Extremely slow > 5000 ms response time with Cake PHP, please help

Hi,

may thanks for all the hints here. I have forwarded them to my
developer and hope to have it fixed soon and report.
Please let me know if you need any more details about the
configuration.

BR,
Gus

On Oct 4, 8:12 am, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> I'm surprised how seldom people index their databases properly (if at all)...
>
> http://articles.classoutfit.com/2010/02/cakephp-basic-database-table-...
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 4 Oct 2010, at 08:09, Crazy wrote:
>
> > I'm not a server expert but what I see with firebug is that the
> > receiving takes 5 seconds.
>
> > Try using an opcode cacher, it speeds up all my sites by at least a
> > factor 2, I recommend apc.
>
> > Might be a good idea to use xdebug to see what's taking up all the
> > time, maybe a few bad queries or weird loop.
>
> > You'd be surprised what a few well placed indexes can do to your
> > queries.
>
> >http://blog.crazytje.be/optimizing-your-web-server-part-3-opcode-cach...
> >http://blog.crazytje.be/optimizing-your-web-server-part-4b-%E2%80%93-...
>
> > On Oct 3, 1:16 am, Alexandru Ciobanu <ics.cake...@gmail.com> wrote:
> >>   On 10/1/2010 1:05 PM, eJobba wrote:
>
> >>> It's taking the script more than 5000 ms to load from a blank page,
> >>> whereas afterwards it instantly loads (our developer managed to
> >>> improve this, but did not find the reason for the slow response time).
>
> >> For the CakePHP Core processing speed a good start is Matt's article[1]
> >> on Xdebug.
> >> For web performance you'll have to check the usual suspects[2][3].
> >> For everything else there's google :-)
>
> >> [1]http://www.pseudocoder.com/archives/2007/04/24/how-to-really-use-xdeb...
> >> [2]http://code.google.com/speed/page-speed/docs/rules_intro.html
> >> [3]http://developer.yahoo.com/performance/rules.html
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: