Questions tagged [pooling]

a container holds ready objects for clients, to reduce initialization time of expensive buffers or resources.

Commonly refers to network or database connection pools, or byte buffer pools.

239 questions
0
votes
1 answer

MongoDB | Node.js Connection Pooling w/ module.exports

Hey guys so I'm pretty new to creating modules, I'm having a bit of trouble accessing my mongodb connection pool from my main application. Here's the module: // mongo-pool.js // ------------- var assert = require('assert'); var mongodb =…
Julian Guterman
  • 177
  • 1
  • 6
0
votes
1 answer

Apache Commons DBCP 2.x Stability in Production

I am working on a multi threaded batch program where I have to use embedded connection pooling, I cannot use server managed connection pool because I cannot deploy it as a app client as there are few restrictions in client side. I thought of using…
0
votes
2 answers

ClassCastException HikariCPConnectionProvider cannot be cast to Hibernate ConnectionProvider

I am trying my hands on HikariCP for the first time. I am facing following ClassCastException. ClassCastException: org.hibernate.hikaricp.internal.HikariCPConnectionProvider cannot be cast to…
Rishi Dev
  • 187
  • 2
  • 12
0
votes
2 answers

Classic ASP simultaneous calls from different users

I have this classic ASP web application. Each user must login and their most important data are kept in Session variables. Back-end is MS-SQL. When user submit to a particular page, this ones does a lot of stuff including creating files and…
jplanglais
  • 77
  • 9
0
votes
1 answer

Jenkins, cron expression, a job should not run from 15.00 to 16.00

Simple simple question, i need to run a job all the day (pooling our SVN repositories) but not from 15.00 to 16.00.. For now my configuration does not work.. job ran at 15.36! :( As you can see my cron expression is H/30 0-15,16-23 * * * What is…
ivoruJavaBoy
  • 1,307
  • 2
  • 19
  • 39
0
votes
1 answer

Problems with pooling Multiply Imuputed datasets, of multilevel logistic models, using R (MICE) - missing coefficent

I am having problems with the MICE package in R, particularity with pooling the imputed data sets. I am running a multilevel binomial logistic regression, with Level1 - topic (participant response to 10 questions on different topics, e.g. Darkness,…
j.halls
  • 3
  • 1
0
votes
1 answer

Connection pooling Hibernate

I have a Java application with Hibernate. I just implement it c3p0. Aperentemente everything works at first (as soon as I restart the Tomcat server in our host). But soon after a few customer access, it happens to not create more sessions for…
0
votes
1 answer

Select an instance of a gameObject from a List

I would like to test and see if a gameobject is an instance of another gameobject, but what I have doesn't seem to be working. I am trying to make a pooling script to pool items instead of creating/destroying them. Here is what I am currently…
Get Off My Lawn
  • 34,175
  • 38
  • 176
  • 338
0
votes
1 answer

Design of a small object pool in C++ which helps reduce "repetitive operations on objects"

I have a system where I have to "update certain data members of an object again and again in every "execution path"". The thing is, depending on the type of object, at least 40-60 % of the "data members" that I update are hard coded values. What I…
Chani
  • 5,055
  • 15
  • 57
  • 92
0
votes
1 answer

Pooling Box2d Bodies?

I'm trying to spawn chunks by pooling box2d Bodies, I don't know if libgdx pooling is applicable to bodies but if it is please someone explain me how to do it and what's wrong with my code. first I created the BodyDef and Body on seperate…
Kevin Bryan
  • 1,846
  • 2
  • 22
  • 45
0
votes
1 answer

Theano max_pool_3d

How do I extend theanos downsample.max_pool_2d_same_size in order to pool not only within a feature map, but also between those - in a efficient manner? Lets say i got 3 feature maps, each of size 10x10, that would be a 4D Tensor (1,3,10,10). First…
A. Eckert
  • 31
  • 7
0
votes
1 answer

Disable JBoss Datasource Pooling

Is there a way to Disable the JBoss Datasource connection pooling? I am using PgPool to loadbalance several PostgresDB instances via a standard JDBC connection. As this physically Open's & Close's DB, there's a good distribution of the select…
Shawn
  • 2,679
  • 2
  • 15
  • 26
0
votes
2 answers

Glassfish does not reuse JDBC Connections

I'm using JDBC connection pooling on a glassfish webserver. I'm injecting the DataSource via this statement: @Resource(lookup="database") DataSource db; The code which I'm using to load data looks something like this: public ArrayList
Kendoha
  • 99
  • 11
0
votes
0 answers

Spring JmsTemplate connection pooling

we have scenario where the queue name is dynamically changed based on certain transaction,we will be using IBM mq for queueing.My question is that if I define the JmsTemplate as request scope bean which will allow modification of queue name…
sriramdev
  • 759
  • 1
  • 5
  • 11
0
votes
0 answers

ASP.Net page communicates with Windows service

I have a requirement where in a long running process needs to be triggered from an ASP.Net page. So I decided on using an architecture where in the ASP.Net stores the required task into database and Windows service (will be pooling every 10 sec)…
bp581
  • 859
  • 1
  • 16
  • 47