http://www.perlmonks.org?node_id=578195


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.