jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1958) Session.logout performance poor
Date Wed, 09 Jul 2014 09:38:04 GMT

    [ https://issues.apache.org/jira/browse/OAK-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056035#comment-14056035
] 

Michael Dürig commented on OAK-1958:
------------------------------------

Fixed in trunk at http://svn.apache.org/r1609064

> 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
>             Fix For: 1.0.2, 1.1
>
>         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)

Mime
View raw message