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
2
votes
1 answer

How to imagine convolution/pooling on images with 3 color channels

I am a beginner and i understood the mnist tutorials. Now i want to get something going on the SVHN dataset. In contrast to mnist, it comes with 3 color channels. I am having a hard time visualizing how convolution and pooling works with the…
hmmmbob
  • 1,167
  • 5
  • 19
  • 33
2
votes
1 answer

db connection pool across processes

We have a client/server application that consists of multiple EXEs. The data access layer is on the same physical tier as the client in a library shared by our EXE modules. ODBC and OleDB connection pools are managed per-process; are there…
Natalie
2
votes
1 answer

Unity3D: List returns null when accessed from other class

I am currently attempting to make a small mobile game in unity3D, and as i always hear that using instantiate/destroy is a very bad way to go (though i have never made anything large enough where this actually became an issue) i decided to try and…
2
votes
0 answers

connection pooling in java better way

I am working on DB connection pooling. I can see various options to create connection pool using Application server side and then looking through JNDI, hibernate connection pooling where I can set properties in configuration file. I have 2…
Anil varma
  • 23
  • 3
2
votes
0 answers

difference between HikariPool and HikariDatasource

When we use c3p0 we dnt have to use any pool,but when it comes to hikaricp to find out the number of active and idle we have to get the pool first.Can anyone show how to put that in example
dks551
  • 1,113
  • 1
  • 15
  • 39
2
votes
0 answers

pyramid pooling and max pooling in convolution neural network

I would like to use Gaussian pyramid for pooling in convolution neural network. The target for this is to build a decovolution network to reconstruct the input(a image). That is to say when I obtain a convolution neural network model to generate…
2
votes
4 answers

How is that instance pooling with EJBs can improve performance?

How is that instance pooling with EJBs can improve performance? Wouldn't you be able to accomplish the same performance just with threads like a java servlet? Or perhaps instance pooling with EJBs happens for another reason?
Fabio Kenji
  • 776
  • 1
  • 7
  • 17
2
votes
1 answer

c3p0 pooling is not working (with hibernate and a datasource, on tomcat)

We have a java web application running on tomcat 6, which is calling a jar for persistance. This jar is located in the tomcat lib folder, and uses a tomcat datasource :
OutOfBound
  • 1,120
  • 3
  • 19
  • 25
2
votes
2 answers

Shared Object Pool without Thread.Sleep?

I have developed an "object pool" and cannot seem to do it without using Thread.Sleep() which is "bad practice" I believe. This relates to my other question "Is there a standard way of implementing a proprietary connection pool in .net?". The idea…
VinceJS
  • 1,254
  • 3
  • 18
  • 38
2
votes
1 answer

Disable SSL socket connection pooling in JAX-WS?

I was wondering if it was possible to disable socket connection pooling in JAX-WS? I am making calls to a webservice from within Jetty. The webservice is designed to have at most two connections to the server at any given time. One of the…
2
votes
1 answer

Is pooling of StreamWriter.WriteLine Disk I/Os happening?

I'm trying to find if the .net framework pools StreamWriter.WriteLine()s before writing them, or if it does it as they come and I can't find an answer on MSDN. For example, if I have this simplistic code : StreamWriter sw = [Whatever]; for (int i =…
Tipx
  • 7,367
  • 4
  • 37
  • 59
1
vote
0 answers

Apache2 connection pooling

I want to implement apache connection pooling between two apache2 servers. So that there are connections already established and my response time is reduced. I am aware that we need to use either Worker or Event MPM. I also need to know how to…
user1292364
  • 111
  • 1
  • 3
1
vote
2 answers

File pool (like Connection Pool)

My English is like 3years old baby. Recently, I made a website with Many File Access. Unfortunately, My tomcat gave me this following error message Fatal: Socket accept failed java.net.SocketException: Too many open files at…
jeon
  • 123
  • 1
  • 3
  • 15
1
vote
1 answer

How to implement push notification in Android

i am developing app that would receive data from server any time. i have searched some mechanism to do this C2DM: but i require Google account for each device on which app will be installed MQTT: but it is a Third party and a person for which i am…
waseemwk
  • 1,499
  • 3
  • 15
  • 44
1
vote
1 answer

Data Factory does not reuse nor disconnects from ODBC connection (Progress DB)

I have a ODBC connection to Progress DB, via licensed Progress ODBC connector, version 11.7 (PROGRESS_OE_11.7_WIN_64_SQLCLIENTACCESS). ADF uses this ODBC connection to do various tasks, like copy data or execute stored procedures on Progress DB.…