[MGNLUI-6570] Expand a folder with many children takes a lot of time Created: 17/Feb/21  Updated: 08/Mar/21  Resolved: 25/Feb/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.6
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jorge Franco Assignee: Unassigned
Resolution: Known Error Votes: 0
Labels: performance
Remaining Estimate: Not Specified
Time Spent: 31m
Original Estimate: Not Specified

Attachments: XML File jackrabbit-bundle-mysql-search.xml    
Issue Links:
Relates
relates to MGNLUI-6569 Big performance impact showing tags c... Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: Grid performance

 Description   

In pages app, in the browser, in 6.2, when you expand a folder with many children, it takes a lot of time to see some data when the datasource is not local. Only happens the first time you expand a folder, next time children are cached. In 6.1 there was some "lazy" show of the items and then you could see some children a lot before. More details in https://jira.magnolia-cms.com/browse/DEV-1718.



 Comments   
Comment by Šimon Demočko [ 25/Feb/21 ]

Hi, this is a known error, the nature of Vaadin's tree grid, won't fix. The customer is already informed not to introduce too many items on one level of the tree to avoid this.

Comment by Šimon Demočko [ 25/Feb/21 ]

We could introduce a message banner informing that they need to split up the children after a timeout while loading (timestamp on the start of loading, wait 3 seconds and check the number of children at least N, didn't load yet, throw a message).

  • However, it's not known how many children is too much. (though this is something we should probably know). 
  • Also, fluctuation of number of users may cause a high performant server to suddenly be slower not because of number of nodes but number of users, so the notification could be deceiving.
Comment by Roman Kovařík [ 01/Mar/21 ]

Hi jbroemmer,

 

they might suffer from MGNLUI-6569 (I've linked it here).

Also would be helpful to know their structure (depth, number of assets per folder etc.) and database config so we can replicate the environment.

 

Thanks in advance.

Roman

Comment by Jürgen Brömmer [ 03/Mar/21 ]

Hi rkovarik

I attached jackrabbit-bundle-mysql-search.xmland will add their tree structure once they send it to me. Shall we reopen this ticket or create a new one?

 

best
jürgen

Comment by Roman Kovařík [ 03/Mar/21 ]

Hey,

Can we open a support ticket (if not already created)?

Roman

Generated at Mon Feb 12 09:37:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.