Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2063

List pages in pipelines is taking more time to load when there are too many items

XMLWordPrintable

    • Moderate
    • None
    • ODC Sprint 225, ODC Sprint 226, ODC Sprint 227
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the pipeline runs data was fetched for each pipeline in the pipelines list page. This caused too many network calls and the page loaded slowly. This fix makes a single network call to fetch all the pipeline runs and use the same data for all pipelines in the list. As a result, the pipelines list page now loads faster. (link:https://issues.redhat.com/browse/OCPBUGS-2063[*OCPBUGS-2063*])
      Show
      * Previously, the pipeline runs data was fetched for each pipeline in the pipelines list page. This caused too many network calls and the page loaded slowly. This fix makes a single network call to fetch all the pipeline runs and use the same data for all pipelines in the list. As a result, the pipelines list page now loads faster. (link: https://issues.redhat.com/browse/OCPBUGS-2063 [* OCPBUGS-2063 *])
    • Bug Fix
    • Done

      Description of problem:

      Pipeline list page fetches all the pipelineruns to find the last pipeline run and which results in more load time. This performance issue needs to be addressed in all the pieplines list pages wherever applicable.

      Version-Release number of selected component (if applicable):
      4.9

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create 10+ pipelines in a namespace
      2. Create more number of pipelineruns under each pipeline
      3. navigate to piplines list page.

      Actual results:
      Pipelines list will take a long time to load the list.

      Expected results:

      Pipeline list should not take more time to load the list.

      Additional info:

      Reduce the amount to data fetched to find the last pipelinerun, maybe use PartialMetadata to find the latest pipeline run and to improve the performance.

              mdsaud Mohammed Saud (Inactive)
              mdsaud Mohammed Saud (Inactive)
              Vikram Raj Vikram Raj
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: