commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@centras.lt>
Subject Re: [Pool] GenericObjectPool performance?
Date Tue, 30 Jul 2002 05:26:11 GMT

> Hi,
>
> The GenericObjectPool implementation uses a doubly-linked list
> with multiple cursors for fast operations.  It's actually very
> similar to a connection pool I used at a contract for a large
> financial institution, which is a concern, because that
> connection pool experienced performance problems under very
> high loads (thousands of concurrent threads).

It is good to use Pool for threads in this situation, connection pool can't
increase performance for thousands of concurrent transactions.
It depends on OS, but any OS has thread limits ( 200 - 1000 per CPU  )
I use 30 - 60 per CPU on Linux.

> Has any performance testing been done on GenericObjectPool?
> I notice its unit test has a multithreaded test, but it only
> uses 20 threads.
>
> -Paul
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message