Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 1986 invoked from network); 8 Sep 2009 16:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 16:12:51 -0000 Received: (qmail 70701 invoked by uid 500); 8 Sep 2009 16:12:51 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 70635 invoked by uid 500); 8 Sep 2009 16:12:51 -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 70627 invoked by uid 99); 8 Sep 2009 16:12:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 16:12:50 +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: domain of jukka.zitting@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 16:12:43 +0000 Received: by an-out-0708.google.com with SMTP id d40so9257146and.1 for ; Tue, 08 Sep 2009 09:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=NY0PYHjVB1D5oA+HkfWjct3cv6IkjjOGxHX0sEveujo=; b=akwhV+NO183l+LdqJTgoLhFpd4mtKjKC9cQaycvdZ8V6goTEjjHzep3AUV1BaBUv6G YXK3Q+gJyWQ1KPFUc96/z7i9T3muQBGsuqCCiWHAVZ6c7mq7mE6ZZ7HtlvVTaTpIkzmG iQooCl4kj8mAceeVWfKEofj2bhtGqKN8jmANs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=T8LBgrTnpa0YmWMFMpHfjm5C8cUb8h3mR+F1JS2LYB2MLjghp21h5jBffowMwr46uu Kam5plC//QR7+u5O8c23kn98XjgCWIOQpaOJQb1l4JsAOkrx6bgWr3XKI+3eC/0T+v/b R9XZIgUishlZ/JeqvJirusN8yDMjnTafTX7gA= MIME-Version: 1.0 Received: by 10.101.200.32 with SMTP id c32mr11910225anq.179.1252426342143; Tue, 08 Sep 2009 09:12:22 -0700 (PDT) In-Reply-To: <91f3b2650909080832icd874a7u9817df3869ee6f6c@mail.gmail.com> References: <7A5837CEF4D4834E97721F3BCC46D7F71BECAA7D33@darth-malak.gx.local> <91f3b2650909070820t5656093fr8d5087366211e395@mail.gmail.com> <7A5837CEF4D4834E97721F3BCC46D7F71BEC745868@darth-malak.gx.local> <91f3b2650909080832icd874a7u9817df3869ee6f6c@mail.gmail.com> From: Jukka Zitting Date: Tue, 8 Sep 2009 18:12:02 +0200 Message-ID: <510143ac0909080912q44dcc955nea98848bae62a829@mail.gmail.com> Subject: Re: JCR 1456 Database connection pooling To: dev@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I merged all the recent changes from trunk to the JCR-1456 branch. This makes it easier to compare the branch against the trunk and eventually to merge the pooling changes back to trunk. On Tue, Sep 8, 2009 at 5:32 PM, Thomas M=FCller wro= te: >> You do need the commons-dbcp library on your classpath > > I don't know if this acceptable, probably it is. So you would need > commons-dbcp-1.2.2.jar, which is 120 KB. What about commons-pool, or > other dependencies of commons-dbcp? We've typically added or changed a few dependencies in each minor release and doing that in Jackrabbit 2.0 is quite OK. The size of commons-dbcp and it's dependencies is pretty small compared to things like the new POI libraries we're adding in 2.0 to implement full text indexing of OOXML documents. >> it is retrieved every time it is needed from a pooling DataSource. > > Do you know how much this slows down operations? Probably we should > try to measure this. Agreed, though intuitively the effect of pooling should be negligible (a few extra method calls and hash lookups compared to the work that happens in the underlying database). BR, Jukka Zitting