Re: Naming advice for retry manager module

2009-04-21 Thread David Nicol
On Tue, Apr 21, 2009 at 3:11 PM, Bill Ward b...@wards.net wrote: Something like Object::Retry maybe?  Then things can inherit from it? The proposed module sounds more like a has-a than an is-a. Or maybe just a new method that would get included in the caller's namespace. Set the defaults at

Re: Naming advice for retry manager module

2009-04-21 Thread Bill Ward
On Tue, Apr 21, 2009 at 3:12 PM, David Nicol davidni...@gmail.com wrote: On Tue, Apr 21, 2009 at 3:11 PM, Bill Ward b...@wards.net wrote: Something like Object::Retry maybe?  Then things can inherit from it? The proposed module sounds more like a has-a than an is-a.  Or maybe just a new

Re: Naming advice for retry manager module

2009-04-21 Thread Jonathan Yu
Hi: What about http://search.cpan.org/~dlo/Proc-BackOff-0.02/lib/Proc/BackOff.pm Proc::BackOff. It seems to implement a function similar to TCP packet retry backoff... The idea is that for every failure you wait X time before the next request; the next time, you wait 2X. etc. But there is also