You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/05/02 14:14:50 UTC

[jira] [Commented] (OAK-80) Implement batched writing for KernelNodeStore

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

Michael Dürig commented on OAK-80:
----------------------------------

Revision 1333010 adds new implementations for NodeStateBuilder and NodeStore named KernelNodeStateBuilder2 and KernelNodeStore2. These implementations keep the transient space partially in memory and batch it back to the Microkernel as soon as as the commit size (jsop string) exceed 1024 characters. 

The new implementations are not yet wired to the rest of oak-core yet. I will do that in subsequent commits and remove the old implementations.
                
> Implement batched writing for KernelNodeStore
> ---------------------------------------------
>
>                 Key: OAK-80
>                 URL: https://issues.apache.org/jira/browse/OAK-80
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.1
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>
> Currently KernelNodeStore and KernelNodeStateBuilder directly apply every operation on the content tree to the private branch of the Microkernel. There have been some concerns re. performance hits due to network latency in the case where the Microkernel is not co-located. 
> I suggest to add batching capabilities such that operations are only written through to the Microkernel on certain limits. 

--
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