Project

General

Profile

Cleanup #46375

mgr/dashboard: Slow pool detail tab switches

Added by Stephan Müller 4 months ago. Updated 27 days ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/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

Related to mgr - Bug #45610: mgr/dashboard: Pools page takes ages to display available pools New
Related to mgr - Bug #42908: mgr/dashboard: some components call repeatedly the same method (up to 12 times/second) In Progress 11/20/2019

History

#1 Updated by Stephan Müller 4 months ago

  • Status changed from New to In Progress

#2 Updated by Stephan Müller 4 months ago

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

#3 Updated by Stephan Müller 3 months ago

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

#4 Updated by Ernesto Puerta about 2 months ago

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

#5 Updated by Lenz Grimmer 27 days ago

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

Also available in: Atom PDF