Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578195]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-03-24 05:03 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.