[openstack-dev] [neutron][nova][oslo] Common backoff & timeout utils
blk at acm.org
Wed Apr 20 22:43:30 UTC 2016
On Wed, Apr 20, 2016 at 3:10 PM, Boden Russell <bodenvmw at gmail.com> wrote:
> Today there are a number of places in nova, neutron and perhaps
> elsewhere that employ backoff + timeout strategies (see  - ).
> While we are working towards a unified approach in neutron for RPC ,
> it appears such logic could benefit the greater community as a reusable
> oslo implementation.
> IMHO such an oslo implementation could:
> - Enable backoff/timeout irrespective of client/transport. This would
> allow the utils to be used with various clients (HTTP, AMQP RPC, etc.).
> - Support namespacing as inspired by the existing neutron patch .
> - In the future, perhaps, allow multiple (pluggable) backoff strategies
> to be used (e.g. configurable backoff).
> Anyone adverse to me crafting an initial oslo patch to kick-off the
> details on this one?
>  https://review.openstack.org/#/c/280595/
oslo.utils has a decorator that will retry after a delay -
, which doesn't do backoff would be easy enough to add. Alternatively, if
an existing library works better, maybe the oslo utility should be
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev