Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4010

Reuse internal TCP connections in backend services

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      Some of the internal client implementations today create and destroy http.Client structs on a per request basis denying Go standard http library to reuse idle TCP connections for subsequent requests. For an example, take a look at https://github.com/mendersoftware/deviceauth/pull/406

      Acceptance criteria:

      • All internal client implementations reuse the same http.Client created on initialization.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alfrunes Alf-Rune Siqveland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel