You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2015/01/19 11:42:36 UTC

[jira] [Closed] (SLING-3290) Long startup time with many vanityPath

     [ https://issues.apache.org/jira/browse/SLING-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso closed SLING-3290.
--------------------------------

> Long startup time with many vanityPath
> --------------------------------------
>
>                 Key: SLING-3290
>                 URL: https://issues.apache.org/jira/browse/SLING-3290
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>            Reporter: Antonio Sanso
>            Assignee: Antonio Sanso
>              Labels: vanity
>             Fix For: Resource Resolver 1.1.10
>
>         Attachments: BloomFilterUtilsTest.txt, SLING-3290-patch-nobloom.txt, SLING-3290-patch.txt, StartupWithManyVanityPath.jpg
>
>
> When many vanityPath or alias are present the system take long time to startup , Same when a vanityPath/alias is removed or updated .
> The reason behind is the usage of a query that updates the global mapentry.
> I have added a new Test to the performance test suite and this is the outcome
> {code}
> 0 vanityPath    		16ms
> 1  vanityPath   		19ms
> 10 vanityPath         70ms
> 100 vanityPath		111ms
> 1000 vanityPath		200ms
> 10000 vanityPath		1173ms
> 30000 vanityPath		3358ms
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)