[Python] After celery delay() called, it takes almost 5 to 10 seconds for the tasks to start...

Discussão em 'Python' iniciado por Stack, Abril 9, 2025.

  1. Stack

    Stack Membro Participativo

    I'm currently working on an app with following configuration:

    Django 1.8

    Python 2.7

    Celery 3.1.x (Amazon SQS as borker url)

    I'm currently running multiple celery each with concurrency = 4. So my question is when I call celery delay() in my code, it takes almost 5 to 10 seconds for the tasks to start executing in my worker.

    I want to know why I'm getting this delay and how can I reduce it so that my takes the task immediately as I call delay().

    I have checked the same using RabbitMQ and I can see that the tasks starts executing as soon as I call delay().

    Thanks In Advance

    Continue reading...

Compartilhe esta Página