Project

General

Profile

Actions

Cleanup #46375

closed

mgr/dashboard: Slow pool detail tab switches

Added by Stephan Müller almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Stephan Müller
Category:
Component - Pools
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently it take a lot time to switche in the pool table between tables.

It hasn't taken that long before we switched into the inline table detail view. I assume an equal behavior will be shown in other tables as well if they have a lot of entries.

For the switche from details tab to configuration tab takes around 1s and the other way around takes 2 seconds where the UI doesn't really response.
Through using CephADM pools as well there is a longer delay to wait on data, but the data is polled every 5 seconds anyway.
This seems to cause the problem that the pool that is build for details will update it's detail data because of the above polling.

There are multiple ways to address this:
1. Widen the poll time - downside the graphs won't update that often.
2. Show kv tables in a search able table with a default of 10 entries (only 10 or in this case 20 entries have to be drawn)
3. Reduce the amount of data shown and check if the data shown has changed. (Reduces lag if clicked on other tab because it first has to redraw the current table.)
4. Use detail data from a different source (only get data once from API when switching to the tab)
5. Include aspects of all above ways.


Related issues 2 (2 open0 closed)

Related to Dashboard - Bug #45610: mgr/dashboard: Pools page takes ages to display available poolsNew

Actions
Related to Dashboard - Bug #42908: mgr/dashboard: some components call repeatedly the same method (up to 12 times/second)In ProgressErnesto Puerta

Actions
Actions #1

Updated by Stephan Müller almost 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Stephan Müller almost 4 years ago

  • Related to Bug #45610: mgr/dashboard: Pools page takes ages to display available pools added
Actions #3

Updated by Stephan Müller over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36392
Actions #4

Updated by Ernesto Puerta over 3 years ago

  • Related to Bug #42908: mgr/dashboard: some components call repeatedly the same method (up to 12 times/second) added
Actions #5

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v16.0.0
Actions #6

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 137 to Component - Pools
Actions

Also available in: Atom PDF