Skip to content Skip to sidebar Skip to footer
Showing posts with the label Concurrency

Several Concurrent Url Calls

How can I make, say N url calls in parallel, and process the responses as they come back? I want to… Read more Several Concurrent Url Calls

Fixing The Issue Where Upon Calculating How Frequently A Function Is Called During Multiprocessing It Returns A Negative Value

I have a function foo() which might be accessed by multiple worker processes concurrently. This fun… Read more Fixing The Issue Where Upon Calculating How Frequently A Function Is Called During Multiprocessing It Returns A Negative Value

Terminate Executor Using Threadpoolexecutor From Concurrent.futures Module

I am trying to terminate a ThreadPool based on values returned from long running request. I wish to… Read more Terminate Executor Using Threadpoolexecutor From Concurrent.futures Module

Place A Timeout On Calls To An Unresponsive Flask Route (updated)

I currently have a route in a Flask app that pulls data from an external server and then pushes the… Read more Place A Timeout On Calls To An Unresponsive Flask Route (updated)

Processpoolexecutor, Brokenprocesspool Handling

In this documentation ( https://pymotw.com/3/concurrent.futures/ ) it says: 'The ProcessPoolExe… Read more Processpoolexecutor, Brokenprocesspool Handling

Python Multiprocessing Blocks Indefinately In Waiter.acquire()

Can someone explain why this code blocks and cannot complete? I've followed a couple of example… Read more Python Multiprocessing Blocks Indefinately In Waiter.acquire()

Does The Number Of Celeryd Processes Depend On The --concurrency Setting?

We are running Celery behind Supervisor and start it with celeryd --events --loglevel=INFO --concur… Read more Does The Number Of Celeryd Processes Depend On The --concurrency Setting?

Concurrent Sax Processing Of Large, Simple Xml Files?

I have a couple of gigantic XML files (10GB-40GB) that have a very simple structure: just a single … Read more Concurrent Sax Processing Of Large, Simple Xml Files?