Top "Pool" questions

A pool describes a cache of resources that an application can draw from to save instantiation time.

python multiprocessing pool: how can I know when all the workers in the pool have finished?

I am running a multiprocessing pool in python, where I have ~2000 tasks, being mapped to 24 workers with the pool. each …

python multiprocessing pool
How to use Python multiprocessing Pool.map to fill numpy array in a for loop

I want to fill a 2D-numpy array within a for loop and fasten the calculation by using multiprocessing. import numpy …

python arrays numpy multiprocessing pool
application pool stopped on webrequest

I have a site that has been working fine for months. This morning I started getting 503 Service Unavailable errors. After …

asp.net webrequest pool
Python multiprocessing.Pool() doesn't use 100% of each CPU

I am working on multiprocessing in Python. For example, consider the example given in the Python multiprocessing documentation (I have …

python multiprocessing cpu-usage pool
How to loop select() to poll for data ad infinitum

#include <stdio.h> #include <unistd.h> #include <sys/time.h> #include <sys/types.…

c select loops pool infinite
How to get the amount of "work" left to be done by a Python multiprocessing Pool?

So far whenever I needed to use multiprocessing I have done so by manually creating a "process pool" and sharing …

python process parallel-processing multiprocessing pool
Python NotImplementedError: pool objects cannot be passed between processes

I'm trying to deliver work when a page is appended to the pages list, but my code output returns a …

python multiprocessing pool
Broken pipe while using Jedis Pool

I'm using Jedis to perform a lot of insertions/reads in Redis. The Redis server is using the default configuration. …

java redis pool jedis
ProcessPoolExecutor and Lock in Python

I am trying to use concurrent.futures.ProcessPoolExecutor with Locks, but I'm getting a run time error. (I'm working on …

python concurrency locking multiprocessing pool
Python: How can I check the number of pending tasks in a multiprocessing.Pool?

I have a small pool of workers (4) and a very large list of tasks (5000~). I'm using a pool and sending …

python pool multiprocess