BOOKS - PROGRAMMING - Ruby on Rails Background Jobs with Sidekiq Run Code Later witho...
US $8.66
506946
506946
Ruby on Rails Background Jobs with Sidekiq Run Code Later without Complicating Your App
Author: David Bryant Copeland
Year: October 2023 (Version P1.0)
Format: PDF | EPUB | MOBI
File size: 10.2 MB
Language: ENG
Year: October 2023 (Version P1.0)
Format: PDF | EPUB | MOBI
File size: 10.2 MB
Language: ENG
Sidekiq is a reliable, well-supported, high-performing way to run code in the background of any Rails app. This book will give you a solid, practical foundation for creating resilient, well-tested, self-healing code that uses background jobs. You'll be able to simulate real-world failure modes and learn how to write idempotent code that can be safely run with Sidekiq. Whether you need to offload slow code out of a controller action, or make a flaky API call more fault tolerant, Sidekiq is the way to do that. One of the best ways to improve your Rails app's performance is to use background jobs with Sidekiq. While Sidekiq is easy to get set up, you need to do more than just move code around to reap the benefits. In this book, you'll get solutions to what sort of code should go into a Sidekiq job and how to manage those jobs. Even though you just need a few lines of code to run a Sidekiq job, there is quite a bit of complexity hiding in the shadows. A Rails app with Sidekiq jobs is really a distributed system. It has all the same challenges as a massive microservices-based architecture.