Forums

Using Celery with free account?

I want to know if I can use Celery, Flask with a free account.

If yes what kind of broker would be good with a free account.

Hi there,

We don't support celery directly, but you can, in theory, use the long running tasks hack along with the django database or sqlalchemy backends, to build a more or less functional celery task queue.

However, free users are limited to one scheduled task per day, with a maximum run time of two hours, so it wouldn't be the ideal solution, unless you really only need your jobs processed once a day.

Celery is usually a solution aiming to optimise the performance of apps, and that's something we usually expect from paying users, not free users. For a free site, you could at least start out by doing the work synchronously, in the request. For things like sending emails, that's usually not a big problem...