Project

General

Profile

Actions

User story #18473

closed

Reduce data send to nodes list and make a faster display

Added by Vincent MEMBRÉ about 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:

Description

Display can be quite slow with lots of nodes.

with 4500 nodes, on a very loaded system the resquest takes 3 seconds (750 ms of node info (3 times 250M ms, 300 ms of compliance, 700 ms of lift, you can add runs and response making to go to 3 seconds) whcih procude 6mb of data, (compressed to 250kb) but this gives a lot of data to handle on browser side (extraction + datatable handling data) could block the browser for and additional 2-3 secondes or more

We should reduce the amount of data =>
  • remove explanation of global mode, replaced by a simple string=
  • remove system compliance Array
  • reduce size of compliance array (not be an object containing value but be an array, lots of data

with this it reduce to 2mb

Also we can add the deferRender option to only render the visible Rows instead fo the whole table, this will delay the computation to when we chnage page but it costs nothing (rendering 25, 100 500 rows is really faster than rendering 4500)

Actions #1

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #2

Updated by Vincent MEMBRÉ about 4 years ago

  • Subject changed from Reduce data send to nodes list and improve display to Reduce data send to nodes list and make a faster display
Actions #3

Updated by Vincent MEMBRÉ about 4 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/3321
Actions #4

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from In progress to Pending release
Actions #5

Updated by Nicolas CHARLES about 4 years ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.0~rc1 which was released today.

Actions

Also available in: Atom PDF