Does throttler have performance implications?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Does throttler have performance implications?

Post by roscoe »

Managed to get throttler to work, but server has slowed right down. Is it an issue
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Throttler makes calls to sleep() so that script will run slowly. Is that what you mean?
roscoe
Forum Commoner
Posts: 85
Joined: Tue Aug 05, 2003 10:24 am
Location: essex uk

Post 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:
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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
Post Reply