aspose file tools*
The moose likes JDBC and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection Pooling" Watch "Connection Pooling" New topic
Author

Connection Pooling

Sreeni Gundla
Greenhorn

Joined: Dec 21, 2009
Posts: 7
Connection Pooling,

1. when to use connection pooling.
2. On which factor the no. of connections parameter depend.

example :
To access my application by 2000 users we can define 20 connections.
if the users increases to 10000 then how many connections we require to access my application.

please clarify me on this.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
The important factor is not how many users there are, but how many might access the system around the same time, how often they might access it, how involved the queries are, and how beefy the DB server (and any other server that's involved) is.


Ping & DNS - updated with new look and Ping home screen widget
Sreeni Gundla
Greenhorn

Joined: Dec 21, 2009
Posts: 7
Ulf Dittmer wrote:The important factor is not how many users there are, but how many might access the system around the same time, how often they might access it, how involved the queries are, and how beefy the DB server (and any other server that's involved) is.


for example if 2000 users use my application simultaneously how many connections i can define for my application.
and also if 10000 users use at a time how many connections we need to go for.

this is a general question in my mind ...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39549
    
  27
Yesterday's discussion of this topic should help: http://www.coderanch.com/t/475686/JDBC/java/Connection-Pooling-size
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Pooling
 
Similar Threads
re:java.lang.Exception: ORA-00020: maximum number of processes (150) exceeded?
Leave connection Open or Close it???
Doubt in Connection Pooling
Connection Pooling
what is connection pooling?