Wrapping Up

This concludes our whirlwind tour of Sidekiq! You should now have a solid foundation to write and manage background jobs, and your Rails app should still be relatively predictable and sustainable. As mentioned above, your Rails app running Sidekiq is a distributed system, so you will benefit greatly from reading more about managing distributed systems in production. The Wikipedia article for the Fallacies of Distributed Computing is a great place to get familiar with the problems and terminology.[30] The best teacher, however, is experience building, operating, and monitoring real-world software.

Get Ruby on Rails Background Jobs with Sidekiq now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.