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

Michael Dürig reassigned OAK-1958:
----------------------------------

    Assignee: Michael Dürig

> Session.logout performance poor
> -------------------------------
>
>                 Key: OAK-1958
>                 URL: https://issues.apache.org/jira/browse/OAK-1958
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.0.1
>         Environment: linux jdk1.7 b25 and b55.
>            Reporter: Rob Ryan
>            Assignee: Michael Dürig
>              Labels: Performance
>         Attachments: oak-1958.diff, sessionConcurrencyTest.zip
>
>
> Problem:
> Session.logout was observed to take 14% of time in a performance test of a 
> reasonably real-world load.
> Method:
> Use the attached sling junit test case to run 8 concurrent instances of the 
> test. profile with YourKit or  similar and see >50% time taken by logout.
> Expected:
> Logout should be practically free.
> Solution:
> The attached patch avoids a bug in guava-15 (still present in guava-17 the 
> latest) where the former use of addCallback triggered many 
> CancellationExceptions when sessions were quickly created and logged out.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to