[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13423852#comment-13423852 ] Carsten Ziegeler commented on SLING-2521: - Thanks Antonio, can you please explain how your test actually looks like/what it does? (how many aliases are created, which requests are executed etc.) Obviously we should Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger Attachments: disabling-alias-performance.png The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13423855#comment-13423855 ] Antonio Sanso commented on SLING-2521: -- Hi Carsten, the test is an updated (due SLING-2255 et al ) version of [1]. So it basically tests node having 1000 children and resource not found. [1] https://issues.apache.org/jira/secure/attachment/12520445/ResolveWithManyAliasTest.java Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger Attachments: disabling-alias-performance.png The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13414876#comment-13414876 ] Carsten Ziegeler commented on SLING-2521: - With SLING-2255 the performance win is less than outlined in [0], still disabling seems to improve the performance under heavy load. However, I really would like to have new numbers based on latest code (and jackrabbit version) I'm not in favour of a general switch, while this is the easiest to implement it is the most dangerous for users and as soon as you have a single alias, the whole improvement is pointless. Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13414888#comment-13414888 ] Antonio Sanso commented on SLING-2521: -- I can run a new test with SLING-2255 in place and latest code (included jackrabbit). Obviously the win win would be to improve the alias resolving mechanism per se. Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13401242#comment-13401242 ] Antonio Sanso commented on SLING-2521: -- +1. About a) see [0] [0] https://issues.apache.org/jira/browse/SLING-2311?focusedCommentId=13241320page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13241320 Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2521) Allow disabling sling:alias support per configuration
[ https://issues.apache.org/jira/browse/SLING-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13401250#comment-13401250 ] Felix Meschberger commented on SLING-2521: -- About a) see [0] Excellent. Thanks. Allow disabling sling:alias support per configuration - Key: SLING-2521 URL: https://issues.apache.org/jira/browse/SLING-2521 Project: Sling Issue Type: New Feature Components: JCR Affects Versions: JCR Resource 2.1.0 Reporter: Felix Meschberger The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource. It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira