Thanks for the answer, Cricket.

Well. I'm not using Debugger class, neither Debug > 0.(I've used to find out
where the problem was happening, but I've disabled them). I've suspected of
connection problems, but it's strange, because the other cakePHP Apps (using
the same core) are really fast.

I think I'll have to create another test environment to re-create the
problem in another place to see if the poor performance will be the same.

Any other ideas ?!

Thanks a lot for all the help.

Thiago Elias.


2010/8/11 cricket <[email protected]>

> On Wed, Aug 11, 2010 at 9:29 PM, Thiago Elias <[email protected]>
> wrote:
> > Hi All,
> >
> > Since two or three months ago (more or less), I'm experiencing some
> problems
> > involving CakePHP.
> >
> > In the past, our application was using a local database connection, and
> > performance was really nice and acceptable. Some months ago, we had to
> > migrate the application to another server, separating the Data and the
> Apps.
> >
> > After this change, I've lost performance in my cake App. Each request
> takes
> > around 10 ~ 15 seconds, and before, was 2 ~ 3,5 secs.
> > The interesting thing is: The other legacy PHP Apps are 100% fast, and
> even
> > other cakeAPPs are fast too, but the difference is: My main cake app (the
> > one that lost performance) have 80 innoDB Tables and 20 views. (used to
> link
> > to another databases).
> >
> > I'm using CakePHP 1.2.7, PHP 5.2. And in the Database Server, MySQL
> Server
> > 5.1.
> > Our network infrastructure is really fast, and ping response between
> servers
> > is really nice.
> >
> > Does anyone knows why I'm losing performance just in this App when
> connected
> > to a remote server ?!
>
> Have you looked into whether the remote connection is the issue? I
> mean, aside from Cake. I'd guess that you have a connection problem.
>
> >I'm using CakePHP Debug, and ~85% of the time spent in
> > the request is lost in the CORE, and not in the app. (The core is the
> same
> > of the other cakeApps..)
>
> Having debug > 0 or using the Debugger class is *guaranteed* to slow
> your app down.
>
> 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]<cake-php%[email protected]>For
>  more options, visit this group at
> http://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 [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