connection-pooling Questions
1
I'm using the MongoDB Go Driver in my Go (1.11) server which runs on Google Cloud's App Engine. I'm not really sure if I still manually have to set up connection pooling or if it's already being ta...
Feverfew asked 21/6, 2019 at 13:12
1
Solved
I want to use Java 11 HttpClient and send multiple requests on the same address with the use of the Keep-Alive parameter of HTTP 1.1. I know that there is similar functionality for Apache HTTP Clie...
Subchaser asked 25/6, 2020 at 10:6
4
Solved
I am able to create a MySQL connection like this:
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost',
user : 'me',
password : 'secret',
database : 'my_d...
Sadyesaechao asked 8/5, 2016 at 16:53
1
I'm looking for a way to create a connection pool for many DBs on the same DB server (PostgreSQL Aurora).
This means that I need the ability of changing the target DB of a connection at run time.
C...
Peroxide asked 27/3, 2020 at 5:31
3
Solved
This is my database connection string. I did not set max pool size until now.
public static string srConnectionString =
"server=localhost;database=mydb;uid=sa;pwd=mypw;";
So currently how many...
Fromma asked 16/10, 2011 at 11:58
10
Need code to create the connection pool in java?
How does we make sure that connection pool doesn't return the same object which is already in use?
How happens if client closed the connection after...
Meli asked 13/5, 2010 at 11:2
2
I'm working in a ASP.NET Web API project (Full .NET Framework 4.6.1) and using Azure SQL Database, the API is deployed on an Azure AppService. Regarding the service tiers, we are using S2 in the ca...
Abcoulomb asked 9/2, 2018 at 19:23
2
Solved
I'm in the middle of upgrading from java driver 2.12.3 to 3.3.0. Curiously it seems that the collection pool is suddenly "acting up".
My set up is as follows:
The Connection is established in th...
Drawknife asked 26/9, 2016 at 12:45
1
To the folks of the stackoverflow community. I was looking for some help with an issue i am facing with HikariCP connection pooling.
High level:
I am trying to create several threads using a threa...
Corroboration asked 8/6, 2016 at 18:35
2
Solved
Every time my showData.js script is run it calls
var pool = mysql.createPool({
Is there a way to create the connection pool on node.js server startup?
I've tried adding createPool to server.js ...
Leitao asked 28/5, 2017 at 18:29
3
Solved
Spring application using Hikari pool.
Now for a single request from the client I have to query 10 tables(business required), and then composite the result together. And querying for each table may...
Bantustan asked 12/10, 2019 at 8:21
2
Solved
We have a production system which is an ASP.NET Web API (classic, not .NET Core) application published to Azure. Data storage is Azure SQL Database and we use Entity Framework to access the data. A...
Zaccaria asked 4/10, 2019 at 5:59
3
Solved
I am using Tomcat JDBC connection pool along with Spring boot, JDBC template and SQL Server. I need to know what is going inside connection pool while application is waiting for database connection...
Haphazard asked 13/4, 2016 at 1:36
8
Solved
I have been browsing SO for some time, and chewing my hat in the process, but cannot find an exact match to my problem.
For short, I am getting superb stack trace (org.apache.tomcat.jdbc.pool.Conne...
Cephalopod asked 29/10, 2012 at 20:24
2
Solved
I wish to use connection pooling using NodeJS with MySQL database. According to docs, there are two ways to do that: either I explicitly get connection from the pool, use it and release it:
var po...
Linkage asked 1/11, 2016 at 10:49
1
Solved
We are trying to implement the strategy outlined in the following presentation (slides 13-18) using nodejs/mongo-native driver.
https://www.slideshare.net/mongodb/securing-mongodb-to-serve-an-aws...
Atmospheric asked 4/8, 2019 at 8:44
3
Solved
I use psycopg2 to connect to PostgreSQL on Python and I want to use connection pooling.
I don't know what should I do instead commit() and rollback() when I execute INSERT query.
db = pool.Simple...
Funderburk asked 14/4, 2015 at 7:29
3
Solved
I want to configure my c3p0 connection pool so that at least 2 connections are always active, at most 5, and idle connections past the first 2 will expire in a reasonable amount of time (say an hou...
Isoelectronic asked 27/3, 2014 at 17:44
3
Solved
We fight the issue in production when once in a while our Azure SQL database performance significantly degrades. We know we have locks on one of the tables, but these locks are not deadlocks, they ...
Nope asked 24/6, 2017 at 4:27
2
I'm using Retrofit and OkHttpClient to build a Rest API on Android.
Some time ago, i had noticed the very first request made by the api always take way longer to process than all others... At begi...
Epizoic asked 25/9, 2018 at 16:31
1
Solved
How can I switch the database after connecting to MySQL in nodejs using connection pool?
I used to use the normal connection with MySQL since it has some issue now I would like to use the connecti...
Cytherea asked 15/5, 2019 at 5:51
2
Solved
According to HikariCP's documentation they mentioned to create fixed size pool for better performance.
minimumIdle:
This property controls the minimum number of idle connections that HikariCP...
Cassidy asked 11/3, 2015 at 13:12
1
Solved
As HTTP2 supports multiplexing, do we need still a pool of connections for microservice communication?
If yes, what are the benefits of having such a pool?
Example:
Service A => Service B
Both ...
Henbane asked 4/5, 2019 at 18:33
2
I need effective MySQL database connection in AWS Lambda (Using Node Js).
Which is not creating connection/pool for every request, instead reuse it.
One Solution I got like opening connection out...
Paisley asked 17/1, 2018 at 9:33
2
Communicate with the database in java, we often follow these steps:
load a driver
get a connection
create a Statement or PreparedStatement
get the ResultSet
close the connection
I am confused t...
Firsthand asked 16/9, 2014 at 8:41
© 2022 - 2024 — McMap. All rights reserved.