• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pooling

 
Sreeni Gundla
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sreeni Gundla
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yesterday's discussion of this topic should help: http://www.coderanch.com/t/475686/JDBC/java/Connection-Pooling-size
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic