Setting up Background Jobs in Ruby on Rails

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Setting up Background Jobs in Ruby on Rails with Resque and Redis. In this edition, we'll setup basic background jobs with ActiveJob, run redis-server locally.
    Code: github.com/cja...
    Twitter: / cjav_dev
    Feedback: forms.gle/Q31h...
    It turns out there's a really excellent tool called TubeBuddy that already exists and does most of what I was planning to build. I've started using TubeBuddy in the past few months and really like it. If you use this link to buy a license, I'll get a small cut for being an affiliate: www.tubebuddy.....
    #rails #rubyonrails

КОМЕНТАРІ • 14

  • @chrisbrace6915
    @chrisbrace6915 2 роки тому +2

    Subbed. Compact and straight to the point without going too fast or too slow.

  • @CHACHANUS
    @CHACHANUS 3 роки тому +3

    Excellent tuto.. thanks a Lot. Great content !!!!!

  • @anirbansaha8001
    @anirbansaha8001 2 роки тому

    At 1:32 the basic active jobs setup starts and at 6:00 it ends. If you want to see enqueued jobs on the web browser you can watch further.

  • @haroldpepete
    @haroldpepete 2 роки тому

    i must to subscribe to this channel, right now, you do a great job, thanks

  • @Dan80583
    @Dan80583 2 роки тому +2

    Thanks for this CJ! This and the last video were really useful. I just had one quick q. Is there any way to avoid resetting the DB at the end? I already have some users that have signed up in prod and would really like to keep them if I can

    • @cjav_dev
      @cjav_dev  2 роки тому

      Yes it just requires a bit more surgical approach. It really depends on your setup and what data needs to be migrated.

  • @darkpill
    @darkpill 3 роки тому

    Can you do a rabbitmq or Kafka tutorial please? No one seems to do tutorials on advanced stuff.

    • @cjav_dev
      @cjav_dev  3 роки тому +1

      What use case did you have in mind?

  • @skalippanbalippan6972
    @skalippanbalippan6972 3 роки тому

    what happend to vs code or sublime or...

    • @cjav_dev
      @cjav_dev  3 роки тому +1

      What are those? :)

  • @stevekim881
    @stevekim881 2 роки тому +1

    You are looks same Hangover part 2 movie actor! can you do acting like that next time? maybe you are so popular in here Korea. I am sure about 1 million over view every time. This is not kidding. I am seriously talk.

  • @muhammadhamza8260
    @muhammadhamza8260 2 роки тому

    Where to run [QUEUE=* rake resque:work]

    • @cjav_dev
      @cjav_dev  2 роки тому

      In another terminal window. In Rails 7 there’s a new Procfile.dev that could also be configured to run that worker process.