Skip to content

[frontend] Latency when listing runs #10778

@droctothorpe

Description

@droctothorpe

Environment

  • How did you deploy Kubeflow Pipelines (KFP)?
    Using the AWS helm chart.
  • KFP version:
    2.0.5

Steps to reproduce

  • Create 10+ runs with the same experiment.
  • Go to the runs page.
  • The frontend will make 10+ requests to the same get experiment endpoint: https://<domain>/pipeline/apis/v2beta1/experiments/<experiment id>.
  • The concurrent requests will often result in latency per request in the 1+ second range which is cumulative. Some of our users are experiencing cumulative delays in the 15+ second range. Sometimes, the runs page never loads at all.
  • It may taken several refreshes to recreate. The error is somewhat intermittent.

Expected result

In an ideal world, the frontend would cache the experiment and not have to make the same request 10 times. In addition, even without caching, 10 experiment API requests probably shouldn't result in this much latency. Also, might be a red herring, but the experiment requests all include a Cache-Control: no-cache header. cc @owmasch.


Impacted by this bug? Give it a 👍.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions