-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[frontend] Kubeflow does N queries for in the "Runs" page #11346
Comments
#10797 should resolve this. Make sure that you're on the latest version of KFP. |
@droctothorpe I see. |
@droctothorpe I've tried to replace only the |
That's odd. Maybe look at the source code in the chrome console and make sure it includes the code in question. Alternatively, you can try to build and push a new image from the master branch and deploy that. Another option is to run the UI in development mode from your local machine. You can see how to do that here. |
@droctothorpe I believe that the build of 2.3.0 didn't build your PR. Would be great if you can try it yourself, test the |
@asaff1 Can you confirm your issue is solved if you build the image manually and use in your deployment? If the latest image did not fix this issue, we need to reopen it. |
@rimolive I will try to build and will update. What I can say for sure is that the 2.3.0 image still have the bug. This doesn't match the release notes of the 2.3.0. |
Environment
Kubeflow pipelines standalone, AWS setup
Steps to reproduce
Open your network panel in dev tools. Navigate to the Runs page and look at your network console. Try to increase page size in the UI, and see many requests.
When navigating to the "Runs" page, kubeflow will send an API call to fetch a list of runs. There are two problems here:
total_size
field, which does unneeded COUNT(*) query on the whole "run_details" table, the count is not even displayed in the UI.This is really slow, even for page size of 10, tested with my medium size RDS instance. When page size is 100, this page will do over 100 SQL queries.
Expected result
To get the runs data with the pipeline info, one query should be enough. Page should load faster.
Materials and Reference
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: