Skip to content
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

Pagination when argo server displays node status #13843

Open
shuangkun opened this issue Oct 31, 2024 · 3 comments
Open

Pagination when argo server displays node status #13843

shuangkun opened this issue Oct 31, 2024 · 3 comments
Labels

Comments

@shuangkun
Copy link
Member

Summary

Pagination when argo server displays node status

Use Cases

When one of my steps exceeds 4000 in parallel, the UI always hangs when expanded.


Message from the maintainers:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

@agilgur5
Copy link
Contributor

agilgur5 commented Oct 31, 2024

You can try clicking the "lightning bolt" ⚡ icon in the UI to use the alternative, "fast" layout which is potentially more difficult to read. See also this Slack thread

Based on what you wrote, this is unrelated to Server performance, it's purely UI performance as it's the UI trying to parse and render status.nodes. The network request to the API only happens on page load and retrieves the Workflow resource.
If the "fast" layout works, then specifically it would be the layout/sorting algorithm being too slow (rather than the rendering).

@shuangkun
Copy link
Member Author

What I am doing now is to modify the UI. When expanding, only 500 nodes are expanded at a time to prevent thousands of nodes from being rendered at once and causing the UI to become unresponsive.

@agilgur5
Copy link
Contributor

agilgur5 commented Oct 31, 2024

Yea that could work; "batch rendering" would be the term for that. Fully client-side though, no server-side pagination involved

Could also run the layout algorithm on a different thread / web worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants