Implement Php performace [message #171985] |
Tue, 25 January 2011 18:22 |
Carachi
Messages: 1 Registered: January 2011
Karma: 0
|
Junior Member |
|
|
Hi,
I don't know which way to walk.
I have a web appplication that run on 1 server with Ubuntu write in
php5 (with cakephp framework) + mysql + ajax + xml .
Now this application is too late for service our client and so I try
to redesign it.
How can I implement the performance?
Is it possible implement hardware (peraphs with a cluster) and works
more CPU with my application?
Or is better rewrite the program ( with an other framework more speed,
php pure, or other language)?
Thank you
Bye
|
|
|
Re: Implement Php performace [message #171986 is a reply to message #171985] |
Tue, 25 January 2011 18:41 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
.oO(Carachi)
> I don't know which way to walk.
> I have a web appplication that run on 1 server with Ubuntu write in
> php5 (with cakephp framework) + mysql + ajax + xml .
> Now this application is too late for service our client and so I try
> to redesign it.
What's the problem? Too many clients? Too much response time? Total
breakdowns of the server?
> How can I implement the performance?
> Is it possible implement hardware (peraphs with a cluster) and works
> more CPU with my application?
Depends on the application.
> Or is better rewrite the program ( with an other framework more speed,
> php pure, or other language)?
First you have to figure out where the performance problems come from.
Just throwing in more hardware won't solve the problem. A good start
would be a profiler to analyze the code and the CPU time it requires.
Next would be an SQL log to see if any database query slows things down.
Micha
|
|
|