What is Celery task queue, where do i use it and how do I use it?


As you start going beyond the landing page and the login/logout screen of the latest coolest app that you are building, you realize that the app needs to do a lot more set of things other than querying the database and building dandy HTML views around it. 🙂   And that is when you realize the need for an assistant of sorts, to whom you can throw all the extra load and continue working on your html views 🙂

This is where Celery the task queue comes into the picture. The Celery homepage and the associated Wikipedia page will only say this much –

Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

But where the hell do I use it? What are typical usecases where Celery comes into the picture? So instead of writing a blogpost all over again, sharing this slide share link, that I found particularly useful in answering these questions that bogged me –

And this one with a little more technical details as to how the tasks are dealt with

So click through the above and get enlightened. And share your experience in the trenches with Celery.

Advertisements

About vatsalad

Hi, I'm Vatsala
This entry was posted in library watch, What is.. and tagged , . Bookmark the permalink.

2 Responses to What is Celery task queue, where do i use it and how do I use it?

  1. Sandesh says:

    Hi Vatsala,
    I am not able to see the slides in those boxes. Could you please check?

Comments are closed.