Python Celery Distributed Task Queue | End to End Application with Celery

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 25

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty 6 місяців тому +2

    the part where you explained about how celery used all the cores of the machine by default to support multiprocessing is very well done. thank you sir.

  • @OswaldChisala
    @OswaldChisala 5 місяців тому +1

    this was an incredibly well articulated video!

  • @udaym4204
    @udaym4204 Місяць тому +1

    one of the best and esay explantion Thank you sir can you make video on golang

    • @Cognitive-Programmer
      @Cognitive-Programmer  Місяць тому +1

      Thank you so much for your kind words.. yes I do have some videos on golang in my channel and also planning to start a series

  • @ahrorgaibnazarov3214
    @ahrorgaibnazarov3214 6 місяців тому

    Very easy to understand, thank you

  • @ammadkhan4687
    @ammadkhan4687 Місяць тому +1

    Very nice. Only confusion I still have is, suppose I host celery on other container. How can I then call the celery function?

    • @Cognitive-Programmer
      @Cognitive-Programmer  Місяць тому +2

      Thank you
      Not sure if I understood your question but celery across machines or containers are registered via message brokers I.e. rabbitmq or redis

    • @udaym4204
      @udaym4204 Місяць тому +2

      When hosting Celery in a separate container, you typically communicate with it using a message broker like RabbitMQ or AWS SQS .

  • @ketankumar5689
    @ketankumar5689 7 місяців тому +1

    I have one silly doubt at 19:45 . When, you ran the script, why did the second print statement for write_log also take 5 seconds if sleep(5) was implemented for TaskQueue ?

    • @trupalcanada
      @trupalcanada 3 місяці тому +1

      Because the client didn't reach the write log line until sleep was completed because it was waiting on the result from TaskQueue. The write log completed instantly, Just that it was called after 5 seconds.

  • @duanyrf
    @duanyrf 10 місяців тому

    Other question: How can I call an async function from inside of a celery task function? Is it possible?

  • @duanyrf
    @duanyrf 10 місяців тому

    Great explanation, sir. But, What if I want to one task call another task passing a JSON object as a message between them? Is It possible and How is it? Thank you.

  • @gayathrinandhana3775
    @gayathrinandhana3775 6 місяців тому

    how r u running it on the vscode terminal? its very confusing
    what is that long command you are running on the vsc terminal at 11.00?????????

  • @Sparshchokra
    @Sparshchokra 10 місяців тому +2

    Sir, Can this task queue be Kafka as well?

    • @Cognitive-Programmer
      @Cognitive-Programmer  8 місяців тому

      Not officially supported, but I believe there are some ways to implement it. I'm sorry, I'm not so sure on this.

  • @wcosteiro8690
    @wcosteiro8690 5 місяців тому

    Hi, how can I access the material you use in Pycon24? Thank you.

    • @Cognitive-Programmer
      @Cognitive-Programmer  5 місяців тому

      Thanks for your comment - Here is the GitHub link for the same github.com/CognitiveProgrammer/PyCon2024-Celery

    • @wcosteiro8690
      @wcosteiro8690 4 місяці тому

      @@Cognitive-Programmer thank you so much

  • @shimotown
    @shimotown 3 місяці тому

    can you post a repo?

    • @Cognitive-Programmer
      @Cognitive-Programmer  Місяць тому

      Hi, I've presented the same topic in PyCon 2024, here is the repo link of the same github.com/CognitiveProgrammer/PyCon2024-Celery
      It also has all the presentation I've used in tutorial. Hope it helps

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty 6 місяців тому

    CFBR