Celery
2024

Getting Started with Dagster
Recently, Caktus has been using Tailscale to manage VPN connections between Android tablets and a central server. We wanted to report on the devices connected to the network using the Tailscale API. While we could use tools like Celery to fetch data from the API and load it into a database—given its widespread use in the Django ecosystem—we also wanted to explore other options.
2021

How to Use Celery for Scheduling Tasks
There are multiple ways to schedule tasks in your Django app, but there are some advantages to using Celery. It’s supported, scales well, and works nicely with Django. Given its wide use, there are also lots of resources for learning more about it, and once learned, that knowledge is likely to be useful on other projects.
2020

How to Schedule Tasks Using Celery Beat in a Container
When running services in a container, changes to files can be discarded at any time, but the Celery beat default scheduler keeps its state in a file.
2016

Don't keep important data in your Celery queue
The Celery library (previous posts) makes it as easy to schedule a task to run later as calling a function. Just change:
2015

PyCoder's Weekly: Caktus Included in Top Projects and Articles of 2014
The weekly Python e-mail newsletter, Pycoder’s Weekly included Caktus Developer Dan Poirier’s post, Celery in Production on their list of the best articles and projects of 2014! Take a look at their list and be sure to revisit Dan’s post.
2014

Celery in Production
(Thanks to Mark Lavin for significant contributions to this post.)
In a previous post, we introduced using Celery to schedule tasks.
In this post, we address things you might need to consider when planning how to deploy Celery in production.

PyOhio Recap: Celery with Python
Caleb Smith recently gave a talk, “Intro to Celery,” at PyOhio (video below). Celery is a pretty popular topic for us here at Caktus. We use it often in our client work and find it very handy. So we were happy Caleb was out in the world, promoting its use. We sat down with him to hear more about PyOhio and Celery.

Getting Started Scheduling Tasks with Celery
UPDATE: A newer version of this blog post is available for Celery Version 5.0.x.
Getting Started Using Celery for Scheduling Tasks
Many Django applications can make good use of being able to schedule work, either periodically or just not blocking the request thread.
2013

Using strace to Debug Stuck Celery Tasks
2011

Using Django and Celery with Amazon SQS
Amazon's Simple Queue Service (SQS) is a relatively new offering in the family of Amazon Web Services (AWS). It's also an appealing one, because it proposes to quickly and easily replace a common component of the stack in a typical web application, thereby obviating the need to run a separate queue server like RabbitMQ. While RabbitMQ — the typical favorite for Celery users — is not necessarily difficult to install or maintain, removing it from the stack of a web application means one less component that might fail, offloading that service to AWS — especially for applications with a small to moderate queue volume — might prove financially advantageous.