#1 (permalink)  
Old 04-05-2011, 10:17 PM
Senior Member
 
Join Date: Apr 2008
Posts: 1,345
Default Scripts taking up resources

Whats the best way to stop scripts from taking up too much resources when they run?
__________________
Health!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2011, 10:35 PM
Senior Member
 
Join Date: Jan 2008
Posts: 898
Default

Best way is to optimize them and take out all the needless queries that cause problems.
__________________
Illness Info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2011, 11:02 PM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

If you can edit the queries on most scripts you will be amazed and how many wasted queries there are.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-12-2011, 08:14 PM
Senior Member
 
Join Date: Jan 2008
Posts: 898
Default

You are right about that. I have edited some scripts that made checks for all kinds of things that I thought were just ridiculous and not needed.
__________________
Illness Info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-13-2011, 09:52 PM
phpmotion's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 941
Default

best way is to run tests constantly by making various runs on your site and see how that affects CPU usage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-17-2011, 08:07 PM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

There are many free online PHP courses you can take those, learn proper coding and then recode the bad scripts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-17-2011, 09:01 PM
Senior Member
 
Join Date: Apr 2008
Posts: 1,345
Default

That will take up a lot of time and most people need scripts tweaked now so you can hire an expert.
__________________
Health!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-17-2011, 11:21 PM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

Wow hiring an expert is costly and a security risk because most times they have to know all the intricacies of your scripts to get it working just right.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-19-2011, 10:25 PM
phpmotion's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 941
Default

Let me know what you are trying to do through a PM and maybe I can help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 04-19-2011, 10:44 PM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

That is nice of you phpmotion iI'm guessing you are a code expert?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:09 PM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15