First question:
We have a parsys used in an admin area of our site, that has over 1000 components inside. Other than browser rendering slowness, is this something that is still recommended to avoid with Oak, regarding read performance of nodes.
Node structure:
/content [sling:orderedFolder]
+ page [cq:Page]
+ page [cq:Page]
+ jcr:content [cq:PageContent]
+ parsys [nt:unstrcutured]
+ text_component [nt:unstrcutured] (x over 1000)
Second question:
On the website, we load the properties of each text_component node using adaptTo(Resource.class) instead of maybe using something like resource.valueMap(). Is there any performance gains/losses with these approaches? or would they be the same?
We are running 6.0.0.SP3 with Apache Jackrabbit Oak 1.0.34
Solved! Go to Solution.
wow, 1000 components ... this will definitly be slow, as each component include adds some overhead (mostly caused the component level filters).
The difference in performance between Sling and JCR API should be neglectable here, as the performance of this page is determined by many other factors.
Jörg
Jörg Hoh Need your insights here.
Views
Replies
Total Likes
wow, 1000 components ... this will definitly be slow, as each component include adds some overhead (mostly caused the component level filters).
The difference in performance between Sling and JCR API should be neglectable here, as the performance of this page is determined by many other factors.
Jörg
1000 component in the same level is huge,
Are these authored by the user or some kind of process generates it?
Do you see a way of probably splitting them into multiple pages ?
Thanks
Views
Replies
Total Likes
1000 components on one page seems like a lot - I would take into Consideration what Praveen said - break them into multiple pages. Can you point us to a real world website that would take this many components.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies