Reference document: http: //docs.celeryproject.org/en/latest/userguide/optimizing.html#guide-optimizing