Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Help with exponential backoff

by Madams (Monk)
on Oct 13, 2006 at 18:04 UTC ( #578195=note: print w/ replies, xml ) Need Help??


in reply to Help with exponential backoff

Also take a look at Higher Order Perl on MjD's site.

A useful concept is Fibonacci Numbers. Fibonacci numbers get larger the farther into the sequence you get: 1,1,2,3,5,8,13...

If you choose the "next" fibonnaci number in sequence as your new "time out" (or whatever) the hits should start to spread out a little more.


"All too often people confuse their being able to think with their actually having done so. A more pernicious mistake does not exist."

--Moraven Tollo in Michael A. Stackpole's A Secret Atlas

My Unitarian Jihad Name is: Sibling Pepper Spray of Loving Kindness. Get yours.


Comment on Re: Help with exponential backoff

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-07-06 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls