Author |
Message |
04/04/2007 08:05:57
|
navneet
journeyman
Joined: 03/12/2007 21:17:02
Messages: 13
Location: Delhi, India
Offline
|
Hi,
Is it possible to Cluster org.apache.commons DBCP using terracotta ?
If yes, how can I write it in tc-config.xml file.
(I am using Spring)
|
Regards,
Navneet Singhal |
|
|
04/04/2007 09:48:36
|
zeeiyer
consul
Joined: 05/24/2006 14:28:28
Messages: 493
Offline
|
Database Connection Pools can't be clustered with Terracotta, since database connections ultimately reference a socket (which is a resource native to that particular node). For a list of classes such as this - refer to the "Never Shareable classes" section at http://wiki.terracotta.org/confluence/display/docs/Unsupported+classes
Regards
Sreeni Iyer
Terracotta
|
Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community |
|
|
04/04/2007 10:29:22
|
Tim Eck
journeyman
Joined: 01/25/2007 08:57:02
Messages: 47
Location: San Mateo, CA
Offline
|
Out of curiosity, what is the benefit of a clustered connection pool versus local connection pools on each node? I'm mostly wondering if it is the actual database connections that need a "cluster" aspect, or is it the connection information (host. port, schema, user, etc)? If it is the latter, then there is definitely some opportunity for using DSO here
|
|
|
04/04/2007 22:45:35
|
navneet
journeyman
Joined: 03/12/2007 21:17:02
Messages: 13
Location: Delhi, India
Offline
|
Actually my intension is to provide single point of access of database connections to clustered application running on multiple nodes.
This help me in knowing how many database connections are at any moment of time is used by clustered application. and etc..
|
Regards,
Navneet Singhal |
|
|
05/04/2007 06:28:02
|
Pharaoh
journeyman
Joined: 09/30/2006 15:15:31
Messages: 13
Offline
|
This help me in knowing how many database connections are at any moment of time is used by clustered application
Your database should be able to tell you how many users are connected to it via admin.
each read/write is done by any application on a node in the cluster.
|
/^\ Pharaoh /^\
http://pharaohofkush.blogspot.com/ |
|
|
|