You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2010/08/11 15:52:17 UTC

[jira] Created: (JCR-2707) improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)

improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)
---------------------------------------------------------------------------------------------------------

                 Key: JCR-2707
                 URL: https://issues.apache.org/jira/browse/JCR-2707
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
            Reporter: Stefan Guggisberg
            Priority: Minor
             Fix For: 2.2.0


JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes

unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeentries()).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-2707) improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897342#action_12897342 ] 

Jukka Zitting commented on JCR-2707:
------------------------------------

I added a few performance benchmarks for this in revision 984475. I'll run them over night to get a better picture of where we are.

> improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2707
>                 URL: https://issues.apache.org/jira/browse/JCR-2707
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes
> unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeEntries(List)).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2707) improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg resolved JCR-2707.
------------------------------------

    Resolution: Fixed

fixed in svn r984411

> improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2707
>                 URL: https://issues.apache.org/jira/browse/JCR-2707
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes
> unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeEntries(List)).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2707) improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2707:
-------------------------------

    Attachment: CreateManyChildNodesTest.png
                UpdateManyChildNodesTest.png
                TransientManyChildNodesTest.png

Attached the results of the performance benchmark:

* CreateManyChildNodesTest measures the time of creating a new node with 10k children
* UpdateManyChildNodesTest measures the time of adding a new child to an existing node with 10k children (not sure what we did wrong in 2.0!)
* TransientManyChildNodesTest measures the time of transiently adding and removing a single new child to an existing node with 10k children (this I believe is where the effect of r984411 is visible)


> improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2707
>                 URL: https://issues.apache.org/jira/browse/JCR-2707
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: CreateManyChildNodesTest.png, TransientManyChildNodesTest.png, UpdateManyChildNodesTest.png
>
>
> JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes
> unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeEntries(List)).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-2707) improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg updated JCR-2707:
-----------------------------------

    Description: 
JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes

unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeEntries(List)).

  was:
JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes

unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeentries()).


> improve performance when saving a node with a large number of child nodes (e.g. > 10k child node entries)
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2707
>                 URL: https://issues.apache.org/jira/browse/JCR-2707
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> JCR-307 brought a significant improvement WRT saving nodes with a large number of child nodes
> unfortunately JCR-2579 broke part of the optimization (see NodeState.setChildNodeEntries(List)).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.