Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0037996E9 for ; Mon, 5 Mar 2012 11:30:21 +0000 (UTC) Received: (qmail 71651 invoked by uid 500); 5 Mar 2012 11:30:20 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 71610 invoked by uid 500); 5 Mar 2012 11:30:20 -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 71602 invoked by uid 99); 5 Mar 2012 11:30:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 11:30:20 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mueller@adobe.com designates 64.18.1.39 as permitted sender) Received: from [64.18.1.39] (HELO exprod6og117.obsmtp.com) (64.18.1.39) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 11:30:11 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKT1Sjr491utlUiNvNBLMalTwWriLZeFwG@postini.com; Mon, 05 Mar 2012 03:29:51 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q25BRnJ0018535 for ; Mon, 5 Mar 2012 03:27:50 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q25BTmPl027942 for ; Mon, 5 Mar 2012 03:29:49 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas02.corp.adobe.com (10.8.189.100) with Microsoft SMTP Server (TLS) id 8.3.192.1; Mon, 5 Mar 2012 03:29:48 -0800 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Mon, 5 Mar 2012 11:29:46 +0000 From: Thomas Mueller To: "dev@jackrabbit.apache.org" Date: Mon, 5 Mar 2012 11:29:42 +0000 Subject: Re: [jr3] Tree model Thread-Topic: [jr3] Tree model Thread-Index: Acz6w0RjVOZDHeKMRSmvctkaWIrXiw== Message-ID: In-Reply-To: <9C0FC4C8E9C29945B01766FC7F9D389816E3CC94DD@eurmbx01.eur.adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, >I'm not sure this is really about the cost. I rather have concerns >about contention and conflicts in the distributed case. in a >distributed environment you can scale concurrent child node >adds more easily when they are unordered. in the ordered case >you will likely have clients that simply add nodes without >explicit order information, which means they are all added to >the end of the list, causing contention in this area. I didn't think about this yet. Yes, it sounds like quite a big problem, even for small child node lists. Even storing the order as a property on the parent would be problematic in this case. And it would also be a problem for a clustering solution with MongoDB (depending how data is stored there). Regards, Thomas