Integrating Celery in Django

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 34

  • @CloudWithDjango
    @CloudWithDjango  Год назад +2

    Start a celery instance:
    celery -A worker -l INFO --without-gossip --without-mingle --without-heartbeat -Ofair --pool=solo

  • @ZFCaio
    @ZFCaio Месяц назад

    I need a few weeks to finish an essay.
    After that, I plan to binge-watch your videos, and also your course from Udemy
    I MUST get good with Django
    I am tired of being just a Frontend

    • @CloudWithDjango
      @CloudWithDjango  Месяц назад

      Good luck with the essay! Thank you so much for all the support!! Yes, Django is definitely a valuable framework to know if you want to add to your front-end skills!

  • @youtalky_com
    @youtalky_com Год назад

    Awesome tutorials, great job!

  • @राजmodgi
    @राजmodgi Год назад +2

    Nice video.
    Just 1 advice, if a person is viewing this topic, it means he/she already knows how to setup a basic django project. Yes? So instead you can directly jump to the point.

    • @CloudWithDjango
      @CloudWithDjango  Год назад +1

      Hi Karan,
      Thank you for your feedback. I'm glad that you enjoyed the video.
      Some people enjoy structure and to follow-along irrespective of whether they understand an easy or hard topic. And yes you are correct, there are those that want to get straight to the point. This is why I added in chapters for the video to cater for everyone.

  • @berkefekeskin9172
    @berkefekeskin9172 Год назад

    Thanks dude perfect video, please keep goin!!!

    • @CloudWithDjango
      @CloudWithDjango  Год назад

      I appreciate the feedback, thank you! :)
      It is a pleasure!

  • @tusharniras
    @tusharniras 9 месяцев назад

    Thank you for such an great video!!

    • @CloudWithDjango
      @CloudWithDjango  8 месяцев назад

      My pleasure! Thank you for taking the time to watch it! :)

  • @Andy009Duncan
    @Andy009Duncan Год назад +1

    Great video. I'd like to put everything onto AWS. I've already done that with a basic Django web site. But how do I put a Celery server on AWS? And how do I put a Redis message broker onto AWS? I think if you added both those things to your series on Django and Celery, that would really be a useful addition.

    • @CloudWithDjango
      @CloudWithDjango  Год назад +1

      Hi Andy,
      Thank you for reaching out and for your feedback. I appreciate it!
      Regarding your questions. Here is a general guideline to help you:
      To put a Celery server and Redis message broker on AWS, you can follow these general steps:
      Launch an Amazon Elastic Compute Cloud (EC2) instance: This will serve as the server for your Celery and Redis setup.
      Install Celery and Redis: SSH into your EC2 instance and install Celery and Redis using your preferred package manager.
      Configure Celery: Create a Celery configuration file that defines your Celery app, including the broker URL (Redis) and result backend (e.g., RabbitMQ, Amazon SQS).
      Configure Redis: Edit the Redis configuration file to allow external connections and set up any necessary authentication.
      Start the Celery worker: Start a Celery worker process on your EC2 instance, specifying the app and concurrency settings.
      Test the setup: Send a test task to the Celery worker and ensure it completes successfully.
      Configure and start Celery beat: If you need periodic tasks, configure and start Celery beat.
      Secure your setup: Ensure that your Celery and Redis setup is secure by following AWS best practices.
      That's a very good suggestion, perhaps if I have time, I will make a video on that. Thank you.

    • @Andy009Duncan
      @Andy009Duncan Год назад

      @@CloudWithDjango Thank you for the response. As with all things on AWS, that's quite a 'series of events' to negotiate, without getting lost along the way, but I'll give it a go! :-)

    • @CloudWithDjango
      @CloudWithDjango  Год назад +1

      My pleasure, Andy!
      Yes, unfortunately, it's quite a process and rather intense in regards to the necessary steps. There isn't much leeway around that. I would suggest that you take your time each step of the way and go from there.
      All the best!

  • @caglargulucan
    @caglargulucan Год назад +1

    You have a very clear way of explaining. It's the simplest thing I've seen so far. I hope more videos like this will come. I want to get some advice from you. How can I reach you?

    • @CloudWithDjango
      @CloudWithDjango  Год назад +1

      Thank you, I appreciate your kind feedback.
      Yes, sure! You are more than welcome to sign-up for my 'coding mentorship/consultant' program, at the following link:
      www.cloudwithdjango.com/coaching/
      Please bear in mind that I do charge a fee for this.

  • @DirtySouth33T
    @DirtySouth33T Год назад

    Thank you for the video super helpful, I am running a small application on AWS Fargate its using angular for frontend and django for backend. right now I have 2 containers when i introduce celery does that mean i need a new container for the worker? i think that part is confusing me on how I need to accomplish this. thanks again all great videos

  • @mehranahmed3612
    @mehranahmed3612 Месяц назад

    Is this enough for a person who's staring to incorporate celery with Django or one must get in more depth

  • @ahmadumar9387
    @ahmadumar9387 Год назад +1

    the weather where you are is partly cloudy (on screen, below left) , is using Django the reason for it?.... hmm.... suspicion

    • @CloudWithDjango
      @CloudWithDjango  Год назад +3

      Hahahaha... It's definitely because of Django!

  • @kishorereddy9453
    @kishorereddy9453 Год назад

    Can you pls make one video how to add celery and redis on AWS along with django project?? There are very shoddy resources out there.

  • @fastcoding2180
    @fastcoding2180 Год назад

    I have a problem connecting to redis server provided by railway. I have a configuraion with django and redis under docker. With redis running into docker it works fine but If I add railway redis url it connect, receive tasks inside redis but don't execute them! What could be the problem?

    • @codeX-th7cq
      @codeX-th7cq 6 месяцев назад

      eecution is the problem of celery

  • @Coden69
    @Coden69 Год назад

    Woowww thank you very much

  • @johnnwabuforudemezue1108
    @johnnwabuforudemezue1108 Год назад

    Can we use celery to build activity stream

    • @CloudWithDjango
      @CloudWithDjango  Год назад

      Hi,
      Yes, it should be possible to do so with Celery.

  • @jondebosco7478
    @jondebosco7478 9 месяцев назад

    Tnk u but could u pls implement celery beat redis on AWS EC2?

  • @KrishnaManohar8021
    @KrishnaManohar8021 Год назад

    🥳