You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/06/10 10:35:21 UTC

[jira] [Closed] (OAK-4379) Batch mode for SyncMBeanImpl

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

Davide Giannella closed OAK-4379.
---------------------------------

Bulk close for 1.5.3

> Batch mode for SyncMBeanImpl
> ----------------------------
>
>                 Key: OAK-4379
>                 URL: https://issues.apache.org/jira/browse/OAK-4379
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: auth-external
>            Reporter: angela
>            Assignee: angela
>              Labels: performance
>             Fix For: 1.5.3
>
>         Attachments: OAK-4379.patch
>
>
> the {{SyncMBeanImpl}} currently calls {{Session.save()}} for every single sync, which IMO make the synchronization methods extra expensive.
> IMHO we should consider introducing a batch mode that reduces the number of save calls. the drawback of this was that the complete set of sync-calls withing a given batch would succeed or fail. in case of failure the 'original' sync-result would need to be replaced by one with operation status 'ERR'.
> now that we have the basis for running benchmarks for the {{SyncMBeanImpl}}, we should be able to verify if this proposal actually has a positive impact (though benchmark results from OAK-4119 and OAK-4120 seem to indicate that this is the case).



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