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

Concurrent Asynchronous Processes With Python, Flask And Celery

I am working on a small but computationally-intensive Python app. The computationally-intensive wor… Read more Concurrent Asynchronous Processes With Python, Flask And Celery

In Celery Task Queue, Is Running Tasks In A Group Any Different Than Multiple Asyncs In A Loop?

Let's say I have a very simple task like this: @celery.task(ignore_result=True) def print_page(… Read more In Celery Task Queue, Is Running Tasks In A Group Any Different Than Multiple Asyncs In A Loop?

Oserror: Dlopen(libsystem.dylib, 6): Image Not Found

Just updated my Mac to El Capitan 10.11. I am trying to run Django 1.6 with Celery 3.1 and I'm… Read more Oserror: Dlopen(libsystem.dylib, 6): Image Not Found

Django-celery Infrastructure Over Multiple Servers, Broker Is Redis

Currently we have everything setup on single cloud server, that includes: Database server Apache C… Read more Django-celery Infrastructure Over Multiple Servers, Broker Is Redis

Celery - Importing Models In Tasks.py

I'm having an issue getting access to models in my tasks.py My goal is to send an email at var… Read more Celery - Importing Models In Tasks.py

Unit Testing An Asyncresult In Celery

I am trying to test some celery functionality in Django's unit testing framework, but whenever … Read more Unit Testing An Asyncresult In Celery

Combining Chains, Groups And Chunks With Celery

I want to use Celery for a Url grabber. I have a list of Url, and I must do a HTTP request on every… Read more Combining Chains, Groups And Chunks With Celery

Celery Not Using All Concurrent Slots

I have a Celery cluster made up of machines with 8-core processors. Each machine has one worker th… Read more Celery Not Using All Concurrent Slots

Using Multiprocessing Pool From Celery Task Raises Exception

FOR THOSE READING THIS: I have decided to use RQ instead which doesn't fail when running code t… Read more Using Multiprocessing Pool From Celery Task Raises Exception

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?

Sharing An Oracle Database Connection Between Simultaneous Celery Tasks

I'm working with Python2.7, Celery and cx_Oracle to access the Oracle database. I create a lot … Read more Sharing An Oracle Database Connection Between Simultaneous Celery Tasks

Celery Not Queuing Tasks To Broker On Remote Server, Adds Tasks To Localhost Instead

celery.py # set the default Django settings module for the 'celery' program. os.environ.set… Read more Celery Not Queuing Tasks To Broker On Remote Server, Adds Tasks To Localhost Instead

Capture Heroku Sigterm In Celery Workers To Shutdown Worker Gracefully

I've done a ton of research on this, and I'm surprised I haven't found a good answer to… Read more Capture Heroku Sigterm In Celery Workers To Shutdown Worker Gracefully

How To Pause Or Resume Celery Task?

I am having a requirement in my project where customer can pause or resume process which are pendin… Read more How To Pause Or Resume Celery Task?

How Can Celery Distribute Users' Tasks In A Fair Way?

The task I'm implementing is related to scrape some basic info about a URL, such as title, desc… Read more How Can Celery Distribute Users' Tasks In A Fair Way?

How To Inspect And Cancel Celery Tasks By Task Name

I'm using Celery (3.0.15) with Redis as a broker. Is there a straightforward way to query the n… Read more How To Inspect And Cancel Celery Tasks By Task Name

Call Django Celery Task By Name

I need to call a celery task (in tasks.py) from models.py, the only problem is, tasks.py imports mo… Read more Call Django Celery Task By Name