Home / Companies / PlanetScale / Blog / Post Details
Content Deep Dive

How to kill Sidekiq jobs in Ruby on Rails

Blog post from PlanetScale

Post Details
Company
Date Published
Author
Elom Gomez
Word Count
357
Language
English
Hacker News Points
-
Summary

We've built a Sidekiq client middleware to kill Sidekiq jobs in production without relying on deploys, using Flipper's feature flagging capabilities. We created a middleware that runs when pushing a job to Redis and short circuits any jobs that have been flagged for disablement. To use this middleware, we added it to our Sidekiq configurations and can now disable jobs by enabling the corresponding Flipper feature flag. This solution provides a more robust and immediate way to manage errant jobs in production.