Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-17006

Reuse http clients for OAuth token request

    Details

    • Severity:
      S2
    • Bug Boosted:
      No
    • Defect Source:
      Production Defect
    • Defect Type:
      Performance
    • Story Points:
      0
    • Sprint:
      Prod Eng - Ganesha 06/05
    • Severity Label:
      S2 (Regular)
    • Affects:
      nothing

      Description

      When using a dynamic OAuth configuration in an http:requester, each parameters combination generates a different dancer, which in turn creates its own http client to do the token request.

      Http clients should be reused whenever possible to avoid proliferation of clients, which bring along its own thread pools and the heavy memory footprint associated with it.

        Attachments

          Activity

            People

            • Assignee:
              rodrigo.merino Rodrigo Merino
              Reporter:
              rodrigo.merino Rodrigo Merino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: