From users-return-14503-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Feb 26 22:13:37 2010 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 89920 invoked from network); 26 Feb 2010 22:13:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 22:13:37 -0000 Received: (qmail 50866 invoked by uid 500); 26 Feb 2010 22:13:36 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 50845 invoked by uid 500); 26 Feb 2010 22:13:36 -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 50836 invoked by uid 99); 26 Feb 2010 22:13:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:13:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.55.186.13] (HELO s010.panelboxmanager.com) (72.55.186.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 22:13:28 +0000 Received: from dsl-145-206.aei.ca ([66.36.145.206] helo=[192.168.0.196]) by s010.panelboxmanager.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Nl8Ql-0004pt-Pe; Fri, 26 Feb 2010 17:13:07 -0500 From: =?iso-8859-1?Q?Fran=E7ois_Cassistat?= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: jcr2spi NodeIterator.getNode() performances Date: Fri, 26 Feb 2010 17:12:50 -0500 Message-Id: <61037F0E-07E9-490D-8520-91E9540F7908@maya-systems.com> Cc: =?iso-8859-1?Q?R=E9mi_Cartier?= To: users@jackrabbit.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s010.panelboxmanager.com X-AntiAbuse: Original Domain - jackrabbit.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - maya-systems.com X-Source: X-Source-Args: X-Source-Dir: Hello list, I am using jcr2spi on top spi2davex, with JackRabbit 2.0 on a remote = server. I've made a query to the server, it takes : - 900ms to connect (this is acceptable) - 500ms to do a XPath query on ~25K nodes with a "order by" close (this = is good) - 1000ms to get the node iterator for the result (this is ok) And then, between 240ms and 310ms to get each node. Are this normal = performances? At all, it took 16 seconds to load 56 node result. This is = unacceptable in my project. I assume that jcr2spi makes one HTTP query to every = NodeIterator.getNode() call. Considered that I ping the server with = ~70ms delay for large packets, are theses delays normal? I don't know much about spi2davex details, but is there anyway to load = all these nodes (and subnodes?) in one big HTTP request? Thank you, Fran=E7ois