jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3319) Improve performance of repository updates - tweak index 'deletes' creation
Date Tue, 22 May 2012 12:37:41 GMT

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

Alex Parvulescu updated JCR-3319:

    Attachment: JR-3319.patch

Attaching proposed patch.

Thanks to Marcel for his substantial help in building this patch.
> Improve performance of repository updates - tweak index 'deletes' creation
> --------------------------------------------------------------------------
>                 Key: JCR-3319
>                 URL: https://issues.apache.org/jira/browse/JCR-3319
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>         Attachments: JR-3319.patch
> We noticed during some tests that there is a performance hit for heavy update operations
when creating a new index reader.
> It appears that for larger index segments (2 million docs) the hit comes from checking
each entry if it is deleted or not, so the workaround would be to try to minimize this intensive
operation by moving the creation and update of this set from the ReadOnlyIndexReader to the
> The test setup: repository of 7 million nodes, with 4 threads that do only updates on
duration of 5 mins.
> The result after applying the patch: the throughput (number of operations per second
doubled), going from ~32 ops/second to ~64 ops/second (with highs up to 74).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message