IssueRaiser

Server-side pagination to make ArgoCD UI a rocket

# Summary We're on ArgoCD `2.4.2+c6d0c8b` with more than 2000 Applications and suffering from an annoying issue with slow UI loading default `/applications` endpoint. JFY: Gzip 9 is enabled on ArgoCD side and also on the Ingress level. Depending on the user's internet connection and location UI loading can take 10s - 20s that's really slow and makes us think about the doubtful workaround, like redirecting users from `/application` endpoint to the custom one with a dummy Application. # Proposal Endpoint `/application` returns one huge JSON that represents a set of ALL Applications managed by ArgoCD with all values, metadata, statuses, annotations, and the same for all managed k8s resources. It requires quite a lot of work on the client side and also on the server side for gzipping a big bunch of data. Per discussion with @crenshaw-dev in the `#argo-cd` Slack channel, he mentioned that server-side pagination is one of the solutions that might be implemented to reduce data downloading on the client-side and increase UI performance significantly. It would be great if the pagination will be customized, but it depends on implementation. I guess it should be a really awaited feature due to there are a lot of issues/discussions about slow UI that were already reported/started. Example - https://github.com/argoproj/argo-cd/discussions/8446 where @rumstead already collected related issues. I hope this is possible and really appreciate your time. Thanks!

Posted by Kulagin-G on Aug 7, 2023, 9:46 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

ux (Network)

Server-side pagination to make ArgoCD UI a rocket

Kulagin-GAug 7, 2023, 9:46 PM

# Summary We're on ArgoCD `2.4.2+c6d0c8b` with more than 2000 Applications and suffering from an annoying issue with slow UI loading default `/applications` endpoint. JFY: Gzip 9 is enabled on ArgoCD side and also on the Ingress level. Depending on the user's internet connection and location UI loading can take 10s - 20s that's really slow and makes us think about the doubtful workaround, like redirecting users from `/application` endpoint to the custom one with a dummy Application. # Proposal Endpoint `/application` returns one huge JSON that represents a set of ALL Applications managed by ArgoCD with all values, metadata, statuses, annotations, and the same for all managed k8s resources. It requires quite a lot of work on the client side and also on the server side for gzipping a big bunch of data. Per discussion with @crenshaw-dev in the `#argo-cd` Slack channel, he mentioned that server-side pagination is one of the solutions that might be implemented to reduce data downloading on the client-side and increase UI performance significantly. It would be great if the pagination will be customized, but it depends on implementation. I guess it should be a really awaited feature due to there are a lot of issues/discussions about slow UI that were already reported/started. Example - https://github.com/argoproj/argo-cd/discussions/8446 where @rumstead already collected related issues. I hope this is possible and really appreciate your time. Thanks!

Comments (0)

No comments yet. Start the discussion.

Comment on this issue