Project

General

Profile

Bug #39301

mgr/dashboard: Optimize RBD list by reducing the amount of data returned

Added by Ricardo Marques 2 months ago. Updated 2 months ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Category:
dashboard/rbd
Target version:
Start date:
04/15/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Some RBD image information may require a lot of processing, and we are calculating this information for every RBD image, every "X" seconds when the table automatically refreshes.

For optimization, RBD "LIST" endpoint should only return the information needed to populate the table.

Additional information (like snapshots information, etc.) that is only displayed in the details view should be returned by a dedicated GET to the selected image only.


Related issues

Related to mgr - Bug #39140: mgr/dashboard: decouple RBD image disk usage calculation from RBD image listing Need Review 04/08/2019

History

#1 Updated by Ricardo Marques 2 months ago

  • Description updated (diff)

#2 Updated by Ricardo Marques 2 months ago

  • Tags set to performance

#3 Updated by Lenz Grimmer 2 months ago

  • Related to Bug #39140: mgr/dashboard: decouple RBD image disk usage calculation from RBD image listing added

#4 Updated by Lenz Grimmer 2 months ago

  • Tags set to performance
  • Target version set to v15.0.0
  • Tags deleted (performance)

#5 Updated by Lenz Grimmer 2 months ago

How does this relate to #39140? Is this a different issue, or an alternative approach? Do we need both?

#6 Updated by Ricardo Marques 2 months ago

If we implement both, the performance will improve even more.

The idea behind this issue is to just reduce the amount of data returned by the list endpoint.

#7 Updated by Ricardo Marques 2 months ago

  • Status changed from New to Won't Fix

I'm closing this issue for now, and will reopen it if we still have performance issues after #39140

Also available in: Atom PDF