Jump to content

PHP & SQL Speed Question


JonnySnip3r

Recommended Posts

Hi Guys,

 

This is just a quick question. I have been doing php for a fair while now, but up until now I have never really made a query intense php application. Im currently creating a app that makes allot of database requests each time the page is loaded (as the stats needed need to be updated pretty much all the time) I'm using OOP techniques and refining my queries to only select info needed etc. I'd say it makes around 13 request each page load but some of the methods inside a class make a couple more requests + calculations etc. all in all around 19 - 20.

 

Other than looking into database caching techniques should I be doing anything else to help minimise the server load? Or am I being paranoid? I' closing connections when finishing with queries etc.

 

BTW to clear confusion i'm not yet using db caching techniques.

 

Any help will be much appreciated. Thanks!!

Link to comment
https://forums.phpfreaks.com/topic/244076-php-sql-speed-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.