You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Bart van der Schans (JIRA)" <ji...@apache.org> on 2012/11/05 15:14:13 UTC

[jira] [Updated] (JCR-3449) Improved performance for concurrent read-only access

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

Bart van der Schans updated JCR-3449:
-------------------------------------

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

Resolving as won't fix as this is probably not the "correct" way to use jackrabbit
                
> Improved performance for concurrent read-only access
> ----------------------------------------------------
>
>                 Key: JCR-3449
>                 URL: https://issues.apache.org/jira/browse/JCR-3449
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.2.13, 2.4.3
>            Reporter: Lars Michele
>            Priority: Minor
>         Attachments: jackrabbit-concurrent-read.patch
>
>
> This patch relates to JCR-890. The current implementation allows to share a session across multiple threads reading, but the locking mechanism used makes this use-case slow. The attached patch uses a ReentrantReadWriteLock for accessing session internals, which allows concurrent reads be executed concurrently. The only drawback is, that for the "autofix" feature to work as before one has to instantiate a thread on such cases, because it cannot be executed in the read-scope of a the session facing such problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira