Top "Connection-pooling" questions

In software engineering, a connection pool is a cache of connections maintained so that the connections can be reused when future requests to the resource are required.

SQLite/C# Connection Pooling and Prepared Statement Confusion

I have been spending some time reading different best practices for databases and for SQLite specifically. While reading I found …

c# sqlite prepared-statement connection-pooling
DBCP2 - When are Idle connections removed from the Pool

While configuring DBCP2 pool, and based on documentation I noticed that - there is a configuration called timeBetweenEvictionRunsMillis which is …

java connection-pooling apache-commons-dbcp
Is "Tomcat 7 JDBC Connection Pool" good enough for production? And how is it compare to BoneCP?

Our site get roughly 1M pv/day, and we use Tomcat for sure. I couldn't find much information about jdbc-pool, …

java connection-pooling bonecp jdbc-pool hikaricp
How and Where to add JNDI for Hibernate?

I need the code to add JNDI name to achive connection pooling in hibernate. I have configured the connetion pooling …

hibernate jndi connection-pooling
Python mysql (using pymysql) auto reconnect

I'm not sure if this is possible, but I'm looking for a way to reconnect to mysql database when the …

python mysql database-connection connection-pooling pymysql
How to set application_name for postgres connections?

I'm using tomcat connection pool org.apache.tomcat.jdbc.pool.DataSource. The connections appear in my database pg_stat_activity …

java postgresql connection-pooling tomcat-jdbc
Why doesn't Dapper dot net open and close the connection itself?

Dapper implicitly expects a connection to be open when it uses it. Why doesn't it open and close it itself? …

.net connection-pooling sqlconnection dapper
How rails database connection pool works

I am learning rails database connection pool concept. In rails application I have defined pool size of 5. my understanding about …

mysql ruby-on-rails ruby ruby-on-rails-3 connection-pooling
SQL Server connection pool doesn't detect closed connections?

For years, I've experienced very weird problems on all my web applications that connect to a SQL server. The problem …

.net sql-server ado.net connection-pooling
Tomcat JDBC connection pool VS c3p0 Connection pool

I recently came across this connection pool implementation. http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html I find it quite …

java tomcat connection connection-pooling c3p0