I run the Django site where I use Celery to implement proactive caching — that is, I compute and cache the results even before the user requests them.
Nevertheless, one of my celery tasks could be called a lot in some situation (I would say that it is actually faster than usual). I would like to evaluate it so that it does not consume a lot of resources when it is actually not so useful.
However, I would like to first understand how the Celery attribute celery.task.base.Task.rate_limit is applied. Are the problems solved? Are they delayed and executed later?
Thanks in advance!
source share