commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishnakumar Parasuram <parasuram.krishna.ku...@oracle.com>
Subject RE: Maintain sub pools within Commons pool - is it possible
Date Fri, 29 Jan 2016 07:34:01 GMT
Hi Gruss
Bernd

Though it is REST framework, when it actually connects to our Siebel Server which connection
object are maintained in the connection pool, it is no more REST, it is based on TCPIP

Regards
Krishnakumar

-----Original Message-----
From: ecki@zusammenkunft.net [mailto:ecki@zusammenkunft.net] 
Sent: Friday, January 29, 2016 12:12 PM
To: dev@commons.apache.org
Subject: RE: Maintain sub pools within Commons pool - is it possible

(Ignore my mail, I missed the fact that the initial discussion was about REST clients not
JdBC)

-- 
http://bernd.eckenfels.net

-----Original Message-----
From: ecki@zusammenkunft.net
To: dev@commons.apache.org
Sent: Fr., 29 Jan. 2016 7:39
Subject: RE: Maintain sub pools within Commons pool - is it possible

Hello,

You can programmatically create and configure pools at runtime. (At least if you skip container
infrastructures). You can even dynamically register the pools in JNDI. I dont think you need
sub-pools for this. (Subpools would be more interesting for partitioning connections by transaction
or session state).

The only problem I see would be to access the dynamic pools from JPA persitence declarations,
however thats a problem which is nkt really solved with sub-pools either.

Gruss
Bernd

PS: i think this part of the discussion is better done on the user mailing list

-- 
http://bernd.eckenfels.net

-----Original Message-----
From: Krishnakumar Parasuram <parasuram.krishna.kumar@oracle.com>
To: dev@commons.apache.org
Sent: Do., 28 Jan. 2016 16:27
Subject: RE: FW: Maintain sub pools within Commons pool - is it possible

Hi Jochen,

 

Thanks for your message.  The difference between to two separate pools is that in our framework
we don't know exactly how many no of separate pool we might require, it is not two, but can
scale more than 10, 20 in production environment and I think to have so many pools and that
to we have to create dynamically at runtime, not practical

 

If it was a sub pool, I can always create the sub pool based on demand at runtime.  Moreover
we have few parameters for each sub pool to maintain a min and max connection objects, which
parameters can be different for each sub pool and cannot be implemented while design as we
do not know these value of these parameters at design time.

 

Please let me know if this answers your question else let know

 

Regards

Krishnakumar

 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message