Questions tagged [connection-pool]
108 questions
-1
votes
2 answers
dbConn.Open inside using
using (IDbConnection dbConn = new System.Data.SqlClient.SqlConnection(ConnectionString))
{
dbConn.Open();
...
return result;
}
Will the dbConn.Open() inside the using will use a different connection pool?
If the question number 1 is…

cypher-lad
- 15
- 3
-1
votes
1 answer
Php - Connection Pooling To Mysql
I want to implement connection pooling in Php in a similar way that works in java.
Why I need this :
Let's consider a flow
Step1: Connection To Db --- Resource Id #12
Step2: some computation... time taking .3 seconds
Step3: Query on Solr ....…

chicharito
- 1,047
- 3
- 12
- 41
-2
votes
1 answer
Java Executor service is not closing threads when used with JDBC
I use ExecutorService with FixedThreadPool to execute some SQL via JDBC. However when I profile my app it seems that thread count is just raising and so does the memory of course. The problem is that is is somehow related to JDBC because when I…

Dakado
- 11
- 2
- 6