News for hackers. Stuff that matters.
Re:Why do we need Flask, Celery, and Redis? (2019) by nickjj on Saturday April 18, 2020 @08:54AM (#22907369)
You could use something like async / await without Celery and Redis but Celery brings a lot to the table.

What happens when you want to retry jobs with exponential back off, or rate limit a task, or track completed / failed jobs?

You can wire all of this stuff up yourself but it's a hugely complicated problem and a massive time sink, but Celery gives you this stuff out of the box. With a decorator or 2 you can do all of those things on any tasks you want.

I use it in pretty much every Flask project, even on single box deploys.

There are no comments on this comment yet.