Page 1 of 1

Does throttler have performance implications?

Posted: Fri Aug 10, 2007 8:08 am
by roscoe
Managed to get throttler to work, but server has slowed right down. Is it an issue

Posted: Fri Aug 10, 2007 11:11 am
by Chris Corbyn
Throttler makes calls to sleep() so that script will run slowly. Is that what you mean?

Posted: Fri Aug 10, 2007 11:19 am
by roscoe
d11wtq wrote:Throttler makes calls to sleep() so that script will run slowly. Is that what you mean?
I assume sleep does not effect server performance?
BTW- when running the script (using the throttler) you shouldn't have to keep the browser open should you till it is done? :oops:

Posted: Fri Aug 10, 2007 11:54 am
by Chris Corbyn
roscoe wrote:
d11wtq wrote:Throttler makes calls to sleep() so that script will run slowly. Is that what you mean?
I assume sleep does not effect server performance?
BTW- when running the script (using the throttler) you shouldn't have to keep the browser open should you till it is done? :oops:
Yes, if you're running it in a web browser you will have to keep the window open, unless you make a call ignore_user_abort(). sleep() doesn't have any performance implications, it just makes your script hang while it, err, sleeps :P