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
Subbed. Compact and straight to the point without going too fast or too slow.
Subbed too..
Excellent tuto.. thanks a Lot. Great content !!!!!
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.
i must to subscribe to this channel, right now, you do a great job, thanks
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
Yes it just requires a bit more surgical approach. It really depends on your setup and what data needs to be migrated.
Can you do a rabbitmq or Kafka tutorial please? No one seems to do tutorials on advanced stuff.
What use case did you have in mind?
what happend to vs code or sublime or...
What are those? :)
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.
Where to run [QUEUE=* rake resque:work]
In another terminal window. In Rails 7 there’s a new Procfile.dev that could also be configured to run that worker process.