Home »
Imported messages »
comp.lang.php »
Implement Php performace
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:
|
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
|
|
|
Goto Forum:
Current Time: Wed Nov 27 03:42:45 GMT 2024
Total time taken to generate the page: 0.08194 seconds