Jump to content

Recommended Posts

Hi Guys,

 

We have developed an application in PHP but its performance is poor, we found the reason, that is due to poor database design then we alter the structure then it performing some what fine. but I want to know what are steps need to be taken before developing an application.

 

Can someone guide me on this or point me to a resource where I can get such useful information.

 

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/256734-enhancing-php-applicaiton-perfomance/
Share on other sites

If you spend too much time trying to optimize code before it is written, you are likely wasting time. If you feel your application is too slow afterwards, you can profile it and attempt to pin-point where the slowness is coming from and then you can try to optimize it.

 

Learn how to normalize the database and make sure your queries are efficient (like using joins over sub-selects, not looping queries, not using multiple queries when you could have used a single query, etc).

When it comes to performance, there is never just one reason. 

 

Some decent resources, start reading...

Pro PHP Application Performance (Book)

mysql.com/performance

High Performance MySQL (Book)

google resources on website performance

High Performance Web Sites (Book)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.