Sidekiq Background Jobs With Admin Dashboard | Ruby On Rails 7 Tutorial
Vložit
- čas přidán 16. 12. 2022
- Running background jobs is easy with Sidekiq, and by using Devise with admin accounts we can even include the web dashboard.
Checkout my course(s) at: learn.deanin.com
The web dashboard for Sidekiq allows us to track running jobs and their analytics to ensure that we aren't using too many resources on our Rails server. This allows us to ensure that our Ruby on Rails 7 applications continue to function with a high degree of performance, even as these background jobs do all the heavy lifting.
Links:
shelbydenike.com/upgrade-redi...
github.com/mperham/sidekiq
github.com/mperham/sidekiq/wi...
github.com/mperham/sidekiq/wi...
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
#Deanin #Software #Programming
The Sidekiq admin dashboard is really cool and 100% worth your time to setup if you never have. Really excited with how easy this was to get working.
please add github source in every video, so we can check the code
I usually try to, but sometimes I forget. I'll try to do better haha 🫡
too good .. like no one is covering such necessary topics .. this channel is just savior... although I know all these I came here and refreshed my concepts and it's lot smoother than I learned before .. this channel is an angle(deanin xD) for beginners ...
im member now, after watch this video, keep going up mate 💪
Our Rails 7 hero keep it up
This one is getting bookmarked. What a perfectly-paced, informative video that hits all the necessary points.
Thank you. The shelbydenike link you shared for upgrading to redis 6x doesn't work
great video, can you do a video using rabbitmq and rails on microservices?
Hahaha oh god, sounds like what I had to do at my old job. I'll take a look at covering it, but I might cry from PTSD the entire tutorial 😂
@@Deanin don't worry, sorry if i reminded you of your old job
Hahaha no it's okay, just making a joke at my old employer's expense. Thankfully it's something I'm already familiar with so it shouldn't be too bad to get working. 🙂
@@Deanin great, i'll be waiting
@@haroldpepete im waiting it too
the link that you povide does not work 😕
I dont know about this : |
What kind of things would you use Sidekiq for? I see that it helps with keeping the flow of the website (like you explained the user can still navigate as normal while background processes are firing), but what actually should be created as a background job?
Maybe a report generation that could take awhile to gather? Or email services?
Thanks
An example would be you want to log something. Lets say if a user visits a certain URL you want to log it somewhere that they visited that URL. You could want that information for different reasons. You just want to know that a user visited this URL.
That would be a good reason for a background job because when a user hits a URL you want to load the webpage immediately, you dont want to delay the loading as you update your log. So for such, you can create a background job for logging, but your app immediately renders the webpage.