October 19, 2023
Ruby on Rails Background Jobs with Sidekiq: Run Code Later without Complicating Your App
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.
You'll create a Sidekiq configuration that will serve as a solid foundation for your app, including how to be notified when jobs inevitably fail. You'll then tame alerting fatigue by designing idempotent jobs that can be safely retried in the face of the types of transient failures that are common in networked applications, all without alerting you until action is needed. With that foundation, you'll get a conceptual framework for general monitoring and alerting around your Sidekiq installation and the Redis database it uses, as well as practical tips for organizing the code around your Sidekiq jobs. You'll also learn valuable testing strategies for code that uses Sidekiq jobs.
In no time at all you'll build a Rails app using Sidekiq that is efficient, manageable, and sustainable.
The completed ebook is now available on our site and will be available soon on Amazon.com, O'Reilly Learning Platform, and other online retailers. Use Coupon Code "DCSIDEKIQCOMPLETE" for 40% off the completed ebook at pragprog.com/titles.
Do More with What You Know
From paperbacks and ebooks to online courses and beyond, if you want to create technical content, we may be your perfect partner.
Leverage our 20+ years of experience, our global distribution network, our massive fan base, our relationships with industry leaders, our editorial, production, and marketing prowess, and even our reputation for excellence. Sure, you could go it alone, but with some of the highest royalties in all of traditional publishing and your own personal team, why would you bother?
Shoot us an email at firstname.lastname@example.org or visit pragprog.com/publish-with-us for more details today.
Let's publish something together!
Upcoming Author Appearances2023-10-20 Craig Walls,
Twin Cities Software Symposium - Minneapolis, MN
2023-11-07 James Stanier,
CTO Craft Con
2023-11-14 Frances Buontempo,
Be the First
Sign up for this newsletter at https://pragprog.com/newsletter/ and be the first to hear about our newest content, best promotions, and upcoming events.
Want even more? Follow @pragprog on Twitter and The Pragmatic Programmers on LinkedIn for commentary, news, job openings, and even puzzles.
Thanks for your continued support.
By Professional Developers, for Professional Developers
Sent by the Pragmatic Programmers, LLC. • PO Box 271356• Flower Mound TX 75027