.. _envoy_api_file_envoy/api/v2/core/backoff.proto:

Backoff Strategy
================


.. _envoy_api_msg_core.BackoffStrategy:

core.BackoffStrategy
--------------------

`[core.BackoffStrategy proto] <https://github.com/envoyproxy/envoy/blob/69c307cbdb0386df9ed393e59fd6c24e5cab5603/api/envoy/api/v2/core/backoff.proto#L19>`_

Configuration defining a jittered exponential back off strategy.

.. code-block:: json

  {
    "base_interval": "{...}",
    "max_interval": "{...}"
  }

.. _envoy_api_field_core.BackoffStrategy.base_interval:

base_interval
  (`Duration <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration>`_, *REQUIRED*) The base interval to be used for the next back off computation. It should
  be greater than zero and less than or equal to :ref:`max_interval
  <envoy_api_field_core.BackoffStrategy.max_interval>`.
  
  
.. _envoy_api_field_core.BackoffStrategy.max_interval:

max_interval
  (`Duration <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration>`_) Specifies the maximum interval between retries. This parameter is optional,
  but must be greater than or equal to the :ref:`base_interval
  <envoy_api_field_core.BackoffStrategy.base_interval>` if set. The default
  is 10 times the :ref:`base_interval
  <envoy_api_field_core.BackoffStrategy.base_interval>`.