Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19290

Slow identifying latest Conan package revision

    XMLWordPrintable

    Details

    • Type: Performance
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 6.10.1, 6.10.2
    • Fix Version/s: None
    • Component/s: Conan
    • Labels:
      None

      Description

      Problem: Conan is unusably slow if it needs to fetch many dependencies from Artifactory.

      Most of Conan's requests to Artifactory return quickly, but accessing the latest REST endpoint takes over half a second for each and every dependency. Here's a line from the Conan's trace file:

      {"_action": "REST_API_CALL", "duration": 0.5114703178405762, "headers": {"Authorization": "**********", "User-Agent": "Conan/1.15.1 (Python 3.7.3) python-requests/2.22.0", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1559059613.903459, "url": "http://localhost:8081/artifactory/api/conan/conan/v2/conans/myproject/0.0.0-3/myuser/testing/latest"}
      

      You can see that this request takes over half a second, even though it's only returning two lines of JSON. If there were many revisions of myproject/0.0.0-3 then that might be reasonable, but there is only one revision. This is on a fairly fresh install of Artifactory CE 6.10.1.

      Expected behaviour: accessing latest in the REST API should typically return in ~0.01 seconds or less, especially if there's only one revision.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            michael.platings@arm.com Michael Platings
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: