Playing with Chords – Celery

TL;DR In this post, I will walk through how to use "chord" structure in Celery. The Basics Chords is a complex workflow that is present in Celery. It is a combination of two things - Groups - Groups are a way of combining several independent tasks so that they run in parallel. In a previous post,... Continue Reading →

Using Celery with Flask

In this post, I will talk about using Celery with Flask. I'm going to assume that you have completed this tutorial on Celery. Basic Flask app structure Assume that we have written a nicely working Flask app which now needs to do some backend processing. Here's our basic Flask app structure: +--myapp_dir/ +--app/ +--static/ +--templates/ +--utils/ +--views/... Continue Reading →

Using Fabric With Flask

I recently came across Fabric, a library that can be used for deployment or system administration tasks. To check out the most basic usage refer this tutorial. I'm going to assume that now you have a basic understanding of Fabric. You run fabric using the fab command on the terminal. This is efficient if you are using the terminal... Continue Reading →

Powered by

Up ↑