On Wed, Aug 11, 2010 at 9:29 PM, Thiago Elias <thiagopt...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to