Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 48445 invoked from network); 12 Apr 2010 14:51:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Apr 2010 14:51:08 -0000 Received: (qmail 40204 invoked by uid 500); 12 Apr 2010 14:51:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 40166 invoked by uid 500); 12 Apr 2010 14:51:08 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 40159 invoked by uid 99); 12 Apr 2010 14:51:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 14:51:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 14:51:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3CEohgw027019 for ; Mon, 12 Apr 2010 10:50:44 -0400 (EDT) Message-ID: <31879134.24271271083843116.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 10:50:43 -0400 (EDT) From: "Arthur Meyer (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1242) Improve serialization of NodeReferences for BundleDB PMs In-Reply-To: <19171384.1196253643020.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855995#action_12855995 ] Arthur Meyer commented on JCR-1242: ----------------------------------- Can we update and apply this patch? This patch improves the performance of saving nodes with many incoming references significantly. The compression ratio of the reference representation could be improved even further if the reference are grouped by name. This way, each name is written only once, which makes the representation of references up to 5 times smaller than the current version. > Improve serialization of NodeReferences for BundleDB PMs > -------------------------------------------------------- > > Key: JCR-1242 > URL: https://issues.apache.org/jira/browse/JCR-1242 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Reporter: Przemo Pakulski > Priority: Minor > Attachments: JCR-1242-BPM.patch, JCR-1242-ISB.patch, JCR-1242.patch > > > BudleDB PMs use currently Serializer class to serialize, deserialize node references. Those methods are unefficient, it use string representation of UUID, namespaceURI and localName. > For UUID rawBytes should be used and for namespaceURI, localName namespaceIndex/nameIndex should be used to improve efficiency of serialization/deserialization. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira