Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 71315 invoked from network); 21 Oct 2008 16:09:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 16:09:53 -0000 Received: (qmail 33904 invoked by uid 500); 21 Oct 2008 16:09:49 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 33853 invoked by uid 500); 21 Oct 2008 16:09:49 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 33842 invoked by uid 99); 21 Oct 2008 16:09:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 09:09:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.25.86.40] (HELO chlorine.colo.stayonline.net) (69.25.86.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 16:08:39 +0000 X-ASG-Debug-ID: 1224605331-33a100830000-mbHRyC X-Barracuda-URL: http://192.168.6.17:8000/cgi-bin/mark.cgi Received: from et-den-4.site.stayonline.net (unknown [66.198.222.2]) by chlorine.colo.stayonline.net (Spam Firewall) with ESMTP id 1381010359D for ; Tue, 21 Oct 2008 12:09:01 -0400 (EDT) Received: from et-den-4.site.stayonline.net ([66.198.222.2]) by chlorine.colo.stayonline.net with ESMTP id NFyA1u5lSxTBXnlo for ; Tue, 21 Oct 2008 12:08:51 -0400 (EDT) Received: from [172.16.5.234] ([172.16.5.234]) by et-den-4.site.stayonline.net (8.12.6/8.12.6) with ESMTP id m9LG20wu025550 for ; Tue, 21 Oct 2008 16:02:01 GMT Message-ID: <48FDFE7B.5070306@hanik.com> Date: Tue, 21 Oct 2008 10:08:27 -0600 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Developers List X-ASG-Orig-Subj: Re: Tomcat connection pool contribution Subject: Re: Tomcat connection pool contribution References: <48FB4C62.2040706@hanik.com> <48FDF576.6020809@joedog.org> In-Reply-To: <48FDF576.6020809@joedog.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: UNKNOWN[66.198.222.2] X-Barracuda-Start-Time: 1224605342 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at colo.stayonline.net X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 X-Virus-Checked: Checked by ClamAV on apache.org Tim Funk wrote: > Oddly enough - I started reading the code today. There are some minor > tweaks without digging too deep into the code: > > ProxyConnection.java > This should be CLOSE_VAL.equals(method.getName()) > if (CLOSE_VAL==method.getName()) { . aren't method names in the constant pool? > > PoolProperties > protected String name = "Filip Connection Pool["+(poolCounter++)+"]"; you don't like it :) LOL, things are still to be fixed. > > What I haven't read through is how concurrent threads return/borrow at > the same time. that is the core of the pool, and could still be tuned, but in comparison to other choices, its a non issue for quite a while > > Given that dbcp feels like it has one foot in the grave, has many > dependencies, it would reduce the bloat by adding this as a module and > removing dbcp. If this would go to 6.0.x - it can't be default since > it would break many installations. it wouldn't default in 6.0.x, that's not been on the table. It also wouldn't break a single installation, it uses the exact same settings, (unless of course someone uses casting) Filip > > -Tim > > Filip Hanik - Dev Lists wrote: >> gentlemen, >> >> having run into issues with performance around commons-dbcp as number >> of logical cpus increase, no such method exceptions using newer JDKs, >> I've made a small code contribution >> https://issues.apache.org/bugzilla/show_bug.cgi?id=46038 >> >> description and documentation is in the bug, and attached to the bug >> as an XML document. >> >> I would propose >> >> 1. add as default connection pool when type=javax.sql.DataSource in >> trunk >> 2. ship as an alternate pool with 6.0.x but not enabled by default > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org