Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

317
Visualizações
Can't understand relationship of Celery Tasks to Django

I am using Django to listen to voice commands. I was going to use Celery as a way to run a seperate process for listening, and a seperate process for executing commands.

When I had set up Django with Celery, I had envisioned starting Django (./manage.py runserver) and having those two processes initiate at startup.

But so far I see that the Celery app is started via the shell, and Django speaks to it seperately.

A HUGE part of my learning curve here is understanding what relationship Django has to Celery. I had intended to have everything running within the Django environment -- ie, not having Django run beside Celery.

Can someone tell me where I've become confused?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Celery is a stand alone process that django hooks into and communicates over a socket. That means celery will not run in the same process. You will have to start celery as a separate process and add "workers" that will read messages off of the queue and handle the workload. At the end of the django celery docs it shows you how to start a celery worker: http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html#starting-the-worker-process.

That same page has some good tutorials on how to get started using celery:

http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#first-steps

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda