Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 49122 invoked from network); 10 Feb 2010 16:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 16:08:53 -0000 Received: (qmail 59384 invoked by uid 500); 10 Feb 2010 16:08:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 59310 invoked by uid 500); 10 Feb 2010 16:08:52 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 59299 invoked by uid 99); 10 Feb 2010 16:08:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 16:08:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.64.63.171] (HELO mail.sptci.com) (208.64.63.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 16:08:42 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.sptci.com (Postfix) with ESMTP id 58E4A1D6D9 for ; Wed, 10 Feb 2010 08:08:14 -0800 (PST) X-Virus-Scanned: amavisd-new at sptci.com Received: from mail.sptci.com ([127.0.0.1]) by localhost (mail.sptci.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 694MZPK1MWw6 for ; Wed, 10 Feb 2010 08:07:53 -0800 (PST) Received: from [10.43.169.43] (mobile-166-137-137-239.mycingular.net [166.137.137.239]) by mail.sptci.com (Postfix) with ESMTPSA id 276561D6D8 for ; Wed, 10 Feb 2010 08:07:51 -0800 (PST) Message-Id: From: Rakesh Vidyadharan To: "users@jackrabbit.apache.org" In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: performance Date: Wed, 10 Feb 2010 10:07:23 -0600 References: X-Virus-Checked: Checked by ClamAV on apache.org If you are going to do a lot of writes, the filesystem option may turn out to be terribly slow. That was my experience on OS X importing around 40000 nodes. Rajesh On Feb 10, 2010, at 9:53 AM, Luiz Fernando Teston wrote: > Guo, > > Just curious that is there any performance difference between query >> languages: xpath, sql, JCR-SQL2, JCR-JQOM? >> >> I don't know. I'm using only xpath > > >> The default repository configuration is already very optimized: embed >> derby + file store. You cannot get better performance by using remote >> db such as mysql. >> > I'm trying it with postgresql, but gonna test also with file system > to see > if it improves the performance or not. > > Write to disk is much expensive than read in general, so it's >> expected. Repository is best for content system, assume most action >> are read operation, hope your stress test reflect the read/write >> radio. You could aggressively improve read performance by add a cache >> layer in your application if applicable. >> > > We cache information a lot when possible. But this stress test I'm > running > will be a massive import. So it has lots of writes and also some > queries to > avoid duplicate data. It's a very uncommon scenario. > > Thanks for the feedback! > > > Teston > > >> >> -Guo >>