User story #18473
closedReduce data send to nodes list and make a faster display
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)
Updated by Vincent MEMBRÉ almost 4 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 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
Updated by Vincent MEMBRÉ almost 4 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/3321
Updated by Vincent MEMBRÉ almost 4 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder|671b6c28f9215184f42b666da55e2373880e76e7.
Updated by Nicolas CHARLES almost 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2.0~rc1 which was released today.