Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
101 views

I recently migrated my application from Spring Boot 2 with Hibernate 5 to Spring Boot 3 with Hibernate 6 in a testing environment. Since the migration, I encounter issues during high load (overload ...
i.fayza's user avatar
  • 21
0 votes
0 answers
151 views

I am trying to connect to multiple Redis hosts using Python's redis-py library. Here’s the code I am using: import redis self.redis_client = redis.Redis( host=self.host, port=int(self.port), ...
Albert Sebastian's user avatar
0 votes
1 answer
468 views

with ConnectionPool( conninfo = app.config["POSTGRESQL_DATABASE_URI"], max_size = app.config["DB_MAX_CONNECTIONS"], kwargs = connection_kwargs, ) as pool: With a ...
khteh's user avatar
  • 4,366
1 vote
0 answers
252 views

I'm currently using TypeORM with RDS Aurora PostgreSQL, and I'm considering introducing PgBouncer to address the following two issues: The node-postgres library used by TypeORM doesn't support the ...
rlsisqls's user avatar
1 vote
1 answer
895 views

When executed, the code below takes a long time. for index,row in d_airbnb.iterrows(): #Loop for para varrer cada linha. latitude = row['latitude'] longitude = row['longitude'] location = ...
Christian Cauã Forte Barreto's user avatar
1 vote
1 answer
811 views

I have this piece of code in program.cs to initialize my pool with 5 connections in my .net6 application using postgres and Npgsql. List<NpgsqlConnection> connections = new List<...
Shah_jahan's user avatar
4 votes
2 answers
5k views

We're upgrading from Apache HttpClient 4.5 to 5.2, and it seems there's been a significant change to how the pool timeout works. We want the pool configured so it has some fixed number of connections ...
shmosel's user avatar
  • 51.1k
-1 votes
1 answer
176 views

I have this simple connection pool, which seems to work fine, but it will block all readers of the method if there is a disconnect for any of the connections: type RabbitMQConnectionPool struct { ...
Alexander Mills's user avatar
0 votes
0 answers
241 views

I implemented springboot application using hikari CP for database connection pooling. And now I need to deploy the application to the Jboss EAP server which has datasources configuration with ...
hung pill Yum's user avatar
1 vote
0 answers
539 views

I am using OpenSearch.Net client to connect to AWS opensearch. I want to use multiple nodes in a connection pool by following the example in this doc, but I would like to get the nodes through the /...
lightning_missile's user avatar
0 votes
0 answers
72 views

We occasionaly hit org.apache.tomcat.jdbc.pool.PoolExhaustedException when threads are holding connections for too long or are going into a deadlock state. Any recomendation to tweak in Tomcat's DB ...
Dice's user avatar
  • 3
0 votes
0 answers
201 views

I am making a simple program using MyBatis. At this time, I am having difficulty applying DBCP to the configuration file(mybatis-config.xml) containg DB connection information. <property name="...
na_dev's user avatar
  • 1
1 vote
1 answer
3k views

I am now moving my website from EC2 to lambda+RDS and I don't have much experience in RDS. As you know, AWS RDS supports a proxy to provide a connection pool and the lambda MySQL node.js module also ...
Andy's user avatar
  • 92
1 vote
1 answer
3k views

is there any simple way to connect an oracle apex application to another database other than apex admin database (like using WebLogic data source). I read this but there are a lot of problem with ...
Mahdi Faramarzi's user avatar
1 vote
2 answers
196 views

A Tomcat server worker thread replying to an incoming request must access at least one of several possible cloud API services (Google Cloud Storage in particular; non-modifying, that is, only ...
ChaimKut's user avatar
  • 2,819
0 votes
1 answer
56 views

I implementing the OkHttpClient in my service. When I hit 150+ connections in a connectionPool in the okHttpClient at a time, the below exception has been thrown. Any one aware of this exception. How ...
Kaushik KR's user avatar
0 votes
1 answer
927 views

When I try to reproduce example with aiohttp from documentation I get the error: asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress Exception raises ...
Andrey Topoleov's user avatar
0 votes
0 answers
264 views

I'm making a webapp using JSP and MYSQL. I have set up a connection pool and used it in a Servlet, but I cannot access it. I had to create manually the "lib" folder inside WEB-INF to put the ...
gabit's user avatar
  • 23
3 votes
0 answers
729 views

Summary: I'm using a single Redis instance for the Rails cache, actioncable and (non-cache) use in my rails code. Should all these uses share a single connection pool and if so how can I config this ...
Peter Gerdes's user avatar
  • 3,125
4 votes
2 answers
4k views

I have the below doubts on the Hikari or any database pooling concept. When does the connection pool gets created? Suppose if I have mentioned spring.datasource.hikari.maximum-pool-size=50 Will it ...
murali's user avatar
  • 59
6 votes
1 answer
5k views

I use FastAPI for a production application that uses asyncio almost entirely except when hitting the database. The database still relies on synchronous SQLAlchemy as the async version was still in ...
Sid's user avatar
  • 6,264
2 votes
0 answers
124 views

I created a method called connect_and_do_something like below; What this method does is: ①to connect SampleModel with various databases passed as an argument db_name ②do something by using SampleModel ...
f3h45gp9dnwel's user avatar
1 vote
1 answer
2k views

I have a .NET 6 Web API that is hosted on server A. SQL Server is on server B. Both servers are in the same network. Each endpoint of the Web API makes use of the Entity Framework to query data from ...
variable's user avatar
  • 9,925
0 votes
1 answer
808 views

How to test Connection Pooling in NodeJS using MongoDB Database?
suraj narule's user avatar
0 votes
1 answer
811 views

I have a JDBC connection pool setup in tomcat server. Code 1 takes more time than Code 2. My question is that if connection pool is working. Then it should parallelly open other connections and it ...
Vinayak's user avatar
  • 65
4 votes
2 answers
12k views

I have a rest API in Springboot using Hikari for connection pooling. Hikari is used with default configurations (10 connections in the pool, 30 sec timeout waiting for a connection). The API itself is ...
user1280213's user avatar
1 vote
0 answers
468 views

I am working on Python rest framework and after setting up python 3.8.12 on my mac, when I tried to up the server with python manage.py runserver command for Django, it takes around 2 minutes and in-...
Khantil Sanghani's user avatar
1 vote
1 answer
3k views

i'm trying to create a connection pool and JDBC Resource to deploy a java application on glassfish server, however, I couldn't deploy the project, and this is what it said: Error occurred during ...
Nguyễn Hữu Thái's user avatar
2 votes
0 answers
120 views

if you were hitting the ceiling on the max number of connections on your DB, what is peoples thoughts on having a smaller connection pool size than the number of threads * workers. If you didn't want ...
l33z3r's user avatar
  • 615
0 votes
0 answers
151 views

We have 3 app servers behind load balancer and each app server is connected to Oracle database. We have setup connection pool of minimum 8 size and max 32 size. Everytime I query database to see ...
Amit More's user avatar
1 vote
1 answer
6k views

Our IIS website has its Maximum Concurrent Connections set to 4294967295. Our Web API application is logging all the requests it serves to Application Insights and the two do not appear to match up. A ...
Matt W's user avatar
  • 12.7k
2 votes
3 answers
5k views

Hi I am trying to configure the quarkus to connect to a oracle database. With the current configuration I am able to connect to the database, but I cannot specify the current schema. I followed the ...
Kosala Lakshitha's user avatar
0 votes
0 answers
561 views

I would like to build a multi tenant Spring Boot application. I prefer persisting the data for every tenant in a separate database. This approach implies the usage of a data source (and a connection ...
Oliver's user avatar
  • 493
1 vote
2 answers
5k views

I am developing a server working with MySQL, and I have been trying to understand advantage of working with a connection pool vs a single connection that is kept open, and being passed down to the ...
galyo's user avatar
  • 31
2 votes
1 answer
1k views

What I'm trying to achieve Create a database connection pool in Django. The connection pool is connected to a PostgreSQL database by using SQLAlchemy's connection pooling with django-postgrespool2. ...
EggBender's user avatar
  • 1,080
1 vote
1 answer
343 views

I am trying to set up a connection pool to Redis in a Singleton Scala Object so that I can read/write to Redis while mapping partitions of a DF. I want to be able to configure the host, along with ...
sgallagher's user avatar
1 vote
0 answers
253 views

What is the shared native connection in Redis? How to understand it? Thank you.
Yan's user avatar
  • 11
2 votes
1 answer
367 views

I am doing jndi lookup for datasource configured in JBOSS DataSource dataSource = (DataSource) new InitialContext().lookup(dataSourceStr); return dataSource.getConnection(); Connection is closed by ...
Archana Mundaye's user avatar
1 vote
1 answer
3k views

I have 4 separate tables in the same database. Would it be better to use mysql2.createConnection() or mysql2.createPool to bulk insert into each table? I'd like to run the inserts asynchronously. The ...
navig8tr's user avatar
  • 1,884
0 votes
0 answers
18 views

Let's consider I have two Spring boot applications. And say each configures 50 max-active connections. Say that both are deployed to external Tomcat container and embedded Tomcat container is disabled ...
Chetan Yewale's user avatar
0 votes
0 answers
201 views

My code is as follow: main.cc int main(void){ int port, sqlPort, ConnectionNum, threadNum; string sqlUser, sqlPwd, DBName; try{ Config Settings("./config.ini"); ...
Phoenix Chao's user avatar
0 votes
0 answers
92 views

im writing a coupon system project and I have a problem with my connectionpool. I made it singleton and it should create 10 connections and print "Creating connection #num" 10 times when i ...
Tal Levin's user avatar
-1 votes
2 answers
472 views

using (IDbConnection dbConn = new System.Data.SqlClient.SqlConnection(ConnectionString)) { dbConn.Open(); ... return result; } Will the dbConn.Open() inside the using will use a different ...
cypher-lad's user avatar
1 vote
1 answer
996 views

I have more than 30 databases and I want to use connection pool in my python code. conn = mysql.connector.connect( host=MYSQL_HOST, user=MYSQL_USERNAME, passwd=MYSQL_PASSWORD, ...
vishal's user avatar
  • 104
1 vote
0 answers
313 views

I'm using Neo4j Java Driver and I was trying to create a connection pool. This is the driver that I added: <dependency> <groupId>org.neo4j.driver</groupId> <...
Shaghayegh Tavakoli's user avatar
1 vote
0 answers
406 views

In automation test single Cucumber TestNG runner is assigning threads to grid properly. However when we have multiple jobs accessing same hub url, it's causing time out. If we implement a pool queue, ...
Kpras's user avatar
  • 183
1 vote
0 answers
302 views

We have recently created a job with cucumber selenium grid on aws, which will scale pods on fly up to 100. Cucumber has inbuilt parallel feature for testNg in latest version. If we have 100 nodes and ...
Kpras's user avatar
  • 183
0 votes
1 answer
35 views

I am working on nodejs with mysql(8.x). I have intalled mysql library from npm. I wrote some code like below. File A - connection.js const pooledConInfo = { host: 'localhost', user: 'user',...
Juneyoung Oh's user avatar
  • 7,754
4 votes
0 answers
10k views

I am new to spring boot so doesn't know much about configuration in application.properties or pom.xml . I'm trying to do a CRUD operation in MySQL DB hosted in Azure VM. Once I start my spring-boot ...
Debadatta Meher's user avatar
0 votes
0 answers
571 views

I am trying to add data to my databases. There are multiple entries in an array dataArryay.forEach((element) => { queryData(elementData) } The function is called multiple times async ...
TommyD's user avatar
  • 1,043