Skip to content

Server-side pagination to make ArgoCD UI a rocket #14947

@Kulagin-G

Description

@Kulagin-G

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 - #8446 where @rumstead already collected related issues.

I hope this is possible and really appreciate your time. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:apiAPI bugs and enhancementscomponent:uiUser interfaces bugs and enhancementsenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions