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 2014/02/18 14:58:19 UTC

[jira] [Comment Edited] (OAK-1427) Improve DocumentNodeStore scalability

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

Marcel Reutegger edited comment on OAK-1427 at 2/18/14 1:56 PM:
----------------------------------------------------------------

I updated ConcurrentCreateNodesTest in oak-run and now it allows to tweak the test with system properties.

* {{-DnodeType=nt:unstructured}} the type of the test nodes.
* {{-DdisableIndex=false}} whether to disable the node type index. declaring node types property is set to empty MVP.

The current state with MongoNS is:

nt:unstructured / indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1    2287    2297    2438    3176    3353      24
{noformat}

oak:Unstructured / indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1    2114    2144    2340    2742    3366      26
{noformat}

nt:unstructured / not indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1     688     782     899    1480    3223      57
{noformat}

oak:unstructured / not indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1     215     230     282    1687    3771      82
{noformat}

Using a node type without orderable child nodes has an effect on throughput, but it is rather minor. An index influences throughput much more. Adding nodes concurrently (one by one with 20 sessions) without oak index updates peaks at about 4000 nodes per second on my machine. Every second the throughput drops for a while because the background write blocks local writers to ensure a consistent update of pending {{_lastRev}}.


was (Author: mreutegg):
I updated ConcurrentCreateNodesTest in oak-run and now it allows to tweak the test with system properties.

* {{-DnodeType=nt:unstructured}} the type of the test nodes.
* {{-DdisableIndex=false}} whether to disable the node type index. declaring node types property is set to empty MVP.

The current state with MongoNS is:

nt:unstructured / indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-Mongo                          1    2287    2297    2438    3176    3353      24
{noformat}

oak:Unstructured / indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1    2114    2144    2340    2742    3366      26
{noformat}

nt:unstructured / not indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1     688     782     899    1480    3223      57
{noformat}

oak:unstructured / not indexed
{noformat}
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max       N
Oak-MongoNS                        1     215     230     282    1687    3771      82
{noformat}

Using a node type without orderable child nodes has an effect on throughput, but it is rather minor. An index influences throughput much more. Adding nodes concurrently (one by one with 20 sessions) without oak index updates peaks at about 4000 nodes per second on my machine. Every second the throughput drops for a while because the background write blocks local writers to ensure a consistent update of pending {{_lastRev}}.

> Improve DocumentNodeStore scalability
> -------------------------------------
>
>                 Key: OAK-1427
>                 URL: https://issues.apache.org/jira/browse/OAK-1427
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>
> The DocumentNodeStore implementation still doesn't scale well for certain work load. The purpose of this issue is to analyze and improve scalability in a clustered deployment but also in a single cluster node setup with many concurrent writers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)