dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Home Page Cluster List Scales Badly

Open richard-cox opened this issue 1 year ago • 3 comments

Setup

  • Rancher version: 2.9.1 (and before?)

Describe the bug

  • The home page cluster list should have local pagination
  • List has shown to scale badly when trying to show ~700 rows
    • 17 seconds churn to filter by text (could be improved by not re-rendering lots)
      • https://github.com/rancher/dashboard/issues/11994
    • 13 second list re-render blocking navigation to downstream cluster

To Reproduce

  • Load ~700 clusters (they could be RKE2 Custom)
  • nav to home page

Result

  • all 700 clusters shown

Expected Result

  • one page of X shown (given user pref

richard-cox avatar Sep 23 '24 15:09 richard-cox

/backport v2.9.3

richard-cox avatar Sep 23 '24 15:09 richard-cox

Note - https://github.com/rancher/dashboard/pull/11998 contains a 2.9.3 fix

richard-cox avatar Sep 26 '24 16:09 richard-cox

Release Note (combined with https://github.com/rancher/dashboard/issues/11993)

The performance of the Clusters lists in the Home page and the Side Menu has greatly improved when there hundreds of clusters.

richard-cox avatar Oct 11 '24 09:10 richard-cox

Rancher version: 2.10.0-alpha6 UI version: v2.10.0-alpha4 Rancher repro version: 2.9.1 k8s: 1.29 as HA with 3 all roles t3a.xlarge nodes. Cluster count: 701 (includes local) Browser: 130.0.6723.92 (Official Build) (arm64) (To utilize the performance tools). Cache disabled. Server-side Pagination: Disabled

The performance on 2.10.0 is noticeable. On 2.9.1 the home page loaded in not less that ~45 seconds and not completing the Cluster list rendering.

On 2.10.0 the loading times where consistent at around 5 seconds and the Cluster list was rendered properly and paginated as expected.

2.9.1:

Screenshot 2024-11-04 at 11 32 04

2.10.0:

Screenshot 2024-11-04 at 11 57 01

izaac avatar Nov 04 '24 19:11 izaac