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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2017/10/02 14:00:00 UTC

[jira] [Commented] (OAK-5788) Perform update of single node in one remote call if possible

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

Marcel Reutegger commented on OAK-5788:
---------------------------------------

Benchmark test with current code base:
{noformat}
java -jar oak-benchmarks/target/oak-benchmarks-1.8-SNAPSHOT.jar benchmark SetPropertyTest Oak-Mongo --concurrency 1,2,4,8
Apache Jackrabbit Oak 1.8-SNAPSHOT
# SetPropertyTest                  C     min     10%     50%     90%     max       N 
Oak-Mongo                          1    1704    1754    1818    1941    1973      33
Oak-Mongo                          2    1708    1726    1825    1896    2335      66
Oak-Mongo                          4    2022    2181    2256    2395    3565     104
Oak-Mongo                          8    3019    3110    3310    3519    4362     144
{noformat}

and with changes attached to this issue:
{noformat}
Oak-Mongo                          1    1268    1290    1370    1509    1577      44
Oak-Mongo                          2    1304    1318    1404    1621    1883      84
Oak-Mongo                          4    1419    1605    1785    2012    2374     136
Oak-Mongo                          8    2574    2691    2828    3069    3557     168
{noformat}

> Perform update of single node in one remote call if possible
> ------------------------------------------------------------
>
>                 Key: OAK-5788
>                 URL: https://issues.apache.org/jira/browse/OAK-5788
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Marcel Reutegger
>              Labels: performance
>             Fix For: 1.8
>
>         Attachments: OAK-5788.patch
>
>
> If a single node is modified in a commit then currently it performs 2 remote calls
> # The actual update
> # Update of commit root
> as for single node update commitRoot == node being updated we can optimize this case to see if both operations can be done in same call



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)