Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-2269

Implement Customizable Backoff and Probe Strategies for AIMDBackoffManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.3-alpha1
    • None
    • None

    Description

      As part of enhancing the AIMDBackoffManager, we'd like to introduce customizable backoff and probe strategies. This will enable users to provide their own custom strategies if needed, catering to different use cases and requirements.

      Tasks:

      1. Design an interface for the backoff and probe strategies.
      2. Refactor the existing AIMDBackoffManager implementation to use the new strategy interfaces.
      3. Create default backoff and probe strategy implementations based on the current implementation.
      4. Update AIMDBackoffManager to accept custom strategy implementations through its constructor or setter methods.
      5. Write unit tests to validate the custom strategy implementations.
      6. Update the documentation and JavaDoc to reflect the new changes.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arturobernalg Arturo Bernal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: