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
0 answers

javax.naming.NameNotFoundException: Name abcODBC1 is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingConte xt.java:770)

I'm trying to use Ms Access to test out Connection Pooling but to no avail.And I have read through similar problems at Stackoverflow and elsewhere but still can't resolve the problem. Here's the error code from Tomcat: …
Karen Goh
  • 145
  • 1
  • 5
  • 19
0
votes
1 answer

Connection Pooling with VB.NET and orphaned connections

I am a DBA, not a developer, and could use some insight. The development staff is using VB.NET to create web based applications with connections to a DB2 database. Please assume that the connection string in the web.config file is coded correctly. I…
Doug
  • 11
  • 1
  • 1
0
votes
1 answer

Getting a snapshot of incoming / outgoing bandwidth speed on an interface in linux?

We were wondering how one would go about getting a quick 3 second snapshot of how fast bandwidth is being consumed on a specific interface in linux? We have some web services we would like to delegate to various backends depending on incoming /…
anonymous-one
  • 14,454
  • 18
  • 60
  • 84
0
votes
1 answer

Scan hundreds of website using HttpWebRequest or similar

I have VB code with HttpWebRequest that collects html of hundreds of websites but takes very long time to complete the task. Code basically is a for-to-loop and reads html of the each website in the listbox. In a loop, the extracted html of each…
0
votes
1 answer

WebLogic notification for c# (SNMP)

I'm on a small c# project that must include Weblogic status in real time! I've seen that Weblogic could use SNMP for diagnostics... unfortunately I’ve never used SNMP. So with that protocol is it possible to be alerted by Weblogic of alerts and…
gaymer
  • 442
  • 4
  • 9
  • 19
0
votes
1 answer

How to implement infinite loop

implementing IRC client (still). i have almost everyting but today i noticed, that there is one major problem. i get all the data which server is sending to me, but if I do nothing but wait after displaying data it sent to me, my while(1) loop…
azrahel
  • 1,143
  • 2
  • 13
  • 31
0
votes
1 answer

Placing a method in a timer to slow it down for Emotiv Epoc

I'm new to c#. The problem: I'd like to run a method within a timer, but the method returns/needs arguments not in the timers set of arguments. The reason: The method is called regularly (EPOC Emotiv headset) and I would like it to be called only…
0
votes
5 answers

Best OS portable thread pool library

I'm developing a program in C++ for both POSIX-compatible systems and Windows(R) and was wondering: What is the best OS portable thread pool library? Or should I make my own? Is there any point of pooling more treads than there are physical…
user152949
-1
votes
1 answer

Is there any faster/ less RAM using way to pool the data using Python?

Consider: https://kin-phinf.pstatic.net/20221001_267/1664597566757fY2pz_PNG/%C8%AD%B8%E9_%C4%B8%C3%B3_2022-10-01_001049.png?type=w750 I want to pool data like the figure above, but it takes too much time and RAM usage. Can I make it faster /…
dawn
  • 1
  • 1
-1
votes
1 answer

inverting an image with 'abs' and numpy

img = Image.open(path) data_origin = np.asarray( img, dtype='uint8' ) data = np.array(data_origin) # 300 x 300 x 4 1)for i in range(data.shape[0]): # invert colors for j in range(data.shape[1]): for k in range(3): # only first three…
TheNiska
  • 3
  • 2
-1
votes
1 answer

Pooling frequencies after multiple imputation in SAS

I have imputed data using multiple imputation using PROC MI in SAS, generating n imputed datasets. Now, I would like to report a baseline table with imputed values. However, I cannot find the right SAS code to do so. I've used PROC FREQ using a BY _…
Lisa
  • 1
-1
votes
3 answers

List vs Array in unity pooling system

What is the fast approach of Pooling system in Unity? A List , simple Transform[] array , Queue or Stack ?
-1
votes
1 answer

tensorflow - get max from tensor

So I have a tensor h_in of shape (50, ?, 1, 100) that I should now like to turn into shape (50, 1, 1, 100) by taking the max over the axis 1. How do I do that? I tried h_out = max_pool(h_in) with def…
User1291
  • 7,664
  • 8
  • 51
  • 108
-3
votes
3 answers

ASP.Net Execute code After a time interval

I have below scenario, In ASP.Net application, a piece of code need to be execute whenever a 3 weeks period expire. Period's end date is stored in sql database. I am looking for possible solutions. One approach could be to set up windows service to…
Fahad Ali
  • 27
  • 1
  • 4
1 2 3
15
16