Top "Threadpool" questions

Pooling resources in given limits and automatically assign task to open workers.

Is it true that for long running processes it is better to do thread manually instead of threadpool?

I read on the other day that for long-running tasks my best bet is to manually create threads instead of …

.net multithreading c#-4.0 threadpool task-parallel-library
ThreadPoolExecutor with unbounded queue not creating new threads

My ThreadPoolExecutor is failing to create new threads. In fact I wrote a somewhat hacky LinkedBlockingQueue that will accept any …

java multithreading threadpool threadpoolexecutor
Detecting/Diagnosing Thread Starvation

I am doing some performance/scalability testing of an IIS application that occasionally seems to slow down to a crawl …

c# .net iis threadpool starvation
understanding InvalidAsynchronousStateException occurrences

When does InvalidAsynchronousStateException get thrown? I have the following piece of code: control.InvokeRequired ? control.Invoke(expression) : expression(); In some …

c# winforms multithreading threadpool
how do I use key word arguments with python multiprocessing pool apply_async

I'm trying to get to grips with pythons multiprocessing module, specifically the apply_async method of Pool. I'm trying to …

python multiprocessing threadpool
Reasonable number of threads for thread pool running web service requests

When creating an FixedThreadPool Executor object in Java you need to pass an argument describing the number of threads that …

java web-services concurrency threadpool
'Connection was forcibly closed by the remote host' when sending a lot of data

I have some troubles with the sending of push notifications in a C# multithread windows service. When I send a …

c# multithreading threadpool apple-push-notifications socketexception
How does the quartz scheduler work?

My question is : How does the quartz scheduler work and how is it different from a normal class implementing the …

java threadpool quartz-scheduler
How to resolve - JBAS014516: Failed to acquire a permit within 5 MINUTES

I am currently facing 'JBAS014516: Failed to acquire a permit within 5 MINUTES' issue with my EJB-JBOSS configuration.Below is my …

ejb threadpool ejb-3.1 jboss6.x
Connection pool is full, discarding connection with ThreadPoolExecutor and multiple headless browsers through Selenium and Python

I'm writing some automation software using selenium==3.141.0, python 3.6.7, chromedriver 2.44. Most of the the logic is ok to be executed by …

python selenium threadpool threadpoolexecutor urllib3