How to use Redis and Sidekiq with Ruby on Rails
Using Redis via Sidekiq will help make your application much faster! Or at least, Sidekiq will let you enqueue "jobs" to be run in the background via ActiveJob through Redis, and those tasks will be done at a later time. This helps you as an application developer to keep your frontend fast, as you don't have to block the response to a user when you do something like sending an email. In this episode, I show you how to do all of that with our devise registration email.
š¤Æ Support
ā±ļø Timestamps:
š Newsletter:
šŖElsewhere:
šConcepts:
šResources:
š¬ Subscribe!
My name is David W Parker and Iām creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iām a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iāve used React a lot in the past, as well as some Vue and AngularJS. Iāve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
š¤Æ Support
- https://www.patreon.com/davidwparker
- https://www.buymeacoffee.com/davidwparker
ā±ļø Timestamps:
- 00:00 - Introduction
- 00:19 - Demo
- 01:00 - Sidekiq Gem documentation
- 01:55 - Getting started
- 02:25 - User changes
- 02:53 - Active Job Queue Adapter
š Newsletter:
- https://www.programmingtil.com/
šŖElsewhere:
- Twitter: https://twitter.com/davidwparker
- Twitter: https://twitter.com/programmingtil
- GitHub: https://github.com/davidwparker
šConcepts:
- How to use Sidekiq and Redis with Ruby on Rails
šResources:
- https://github.com/davidwparker/programmingtil-rails/tree/ep22
- https://github.com/mperham/sidekiq
š¬ Subscribe!
- http://bit.ly/subdavidwparker
My name is David W Parker and Iām creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. Iām a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. Iāve used React a lot in the past, as well as some Vue and AngularJS. Iāve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
ruby #rails #rubyonrails
Ā© programmingtil.com