You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2020/06/22 13:17:00 UTC
[jira] [Closed] (SLING-9365) Optionally don't create resource
providers for servlets
[ https://issues.apache.org/jira/browse/SLING-9365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed SLING-9365.
-----------------------------
> Optionally don't create resource providers for servlets
> -------------------------------------------------------
>
> Key: SLING-9365
> URL: https://issues.apache.org/jira/browse/SLING-9365
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Servlets Resolver 2.6.4
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Priority: Major
> Fix For: Servlets Resolver 2.7.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The current ServletMounter creates a resource provider for each registered servlet. That works fine for a given amount of servlets but can become problematic for a high number of servlets as it means that on the one hand, the number of services is doubled and on the other hand, a lot of notifications are send out as well as a lot of computation has to be done by the resource resolver.
> As an optional remedy for these kinds of scenarios, we should allow to configure the mounter to not provide resource providers for servlets but only decorate resources into the content tree.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)