Spike: use failsafe library to perform the retry with backoff mechanism

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: backend
    • Not defined

      Context:
      There are several places in the code base where we do a fetch with retry and if the request fails we do a backoff (e.g. see RetryBackoffEngineEntityFetcher). We could think about using the failsafe library:
      https://github.com/jhalterman/failsafe

      This would allow us to simplify the retry with backoff logic that we use in some parts of the codebase.

      AT:

      • everywhere we do a fetch with retry the failsafe library is used when possible.

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: