Upgrading commons-pool dependency to 1.5.3?

3 messages Options
Embed this post
Permalink
aaime

Upgrading commons-pool dependency to 1.5.3?

Reply Threaded More More options
Print post
Permalink
Hi,
running the benchmarks for FOSS4G I often got into
connection pool deadlock situations which prevented
to even complete the tests.

Looking into the problem I've found a number of potential
deadlock reported against the DBCP Jira, most of which
are solved but only in SNAPSHOT versions of DBCP 1.3
(which I don't get high hopes of seeing released any
  time soon, people started asking "when will 1.3 be
  released?" in 2007...)

However a good part of them are actually due to issues
in the commons-pool dependency, which has been updated
and released (thankfully, without breaking binary compatibility)
a number of times during the last years.

I've found that using the current stable DBCP against
pools 1.5.3 made the deadlocks vanish.

Soo... ok to upgrade? :-)

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
Jody Garnett-2

Re: Upgrading commons-pool dependency to 1.5.3?

Reply Threaded More More options
Print post
Permalink
Oh what a long story? You mentioned that there was no performance
difference with the other connection pool implementation - I wonder if
we will have to switch if DBCP is really dead?

Jody

On Tue, Oct 6, 2009 at 8:31 AM, Andrea Aime <[hidden email]> wrote:

> Hi,
> running the benchmarks for FOSS4G I often got into
> connection pool deadlock situations which prevented
> to even complete the tests.
>
> Looking into the problem I've found a number of potential
> deadlock reported against the DBCP Jira, most of which
> are solved but only in SNAPSHOT versions of DBCP 1.3
> (which I don't get high hopes of seeing released any
>  time soon, people started asking "when will 1.3 be
>  released?" in 2007...)
>
> However a good part of them are actually due to issues
> in the commons-pool dependency, which has been updated
> and released (thankfully, without breaking binary compatibility)
> a number of times during the last years.
>
> I've found that using the current stable DBCP against
> pools 1.5.3 made the deadlocks vanish.
>
> Soo... ok to upgrade? :-)
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Geotools-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
aaime

Re: Upgrading commons-pool dependency to 1.5.3?

Reply Threaded More More options
Print post
Permalink
Jody Garnett ha scritto:
> Oh what a long story? You mentioned that there was no performance
> difference with the other connection pool implementation - I wonder if
> we will have to switch if DBCP is really dead?

Right, I said so, and on my machines I didn't notice any difference.

The server used for FOSS4G benchmarking is more complex thought,
has 4 cpus and more memory, and also the db server is on a separate
machine.

I cannot really say DBCP is dead as many bugs have been actually
fixed since 1.2.2 and according to the tracker they are still fixing
issues... they're just don't seem interested in releasing... how
odd:

http://issues.apache.org/jira/browse/DBCP

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel