We continue to refine our Sidekiq environment. A pending change is to enable the reliability features.
Sidekiq::Client.reliable_push! unless Rails.env.test?
Sidekiq.configure_server do |config|
config.super_fetch!
config.reliable_scheduler!
end
However, the disclaimer about the reliable scheduler gives us pause because we are using the sidekiq-unique-jobs gem, too. It says:
"It does have the drawback that client-side middleware is not invoked when enqueuing the scheduled jobs, since the entire operation takes place within Redis."
Our interpretation: sidekiq-unique-jobs will likely break because it is implemented using client-side middleware to filter out duplicate jobs.
Does anyone have experience with the reliable scheduler and the unique jobs gem?
We are now running Sidekiq Enterprise, so it's conceivable we could replace the gem with SE's own job uniqueness feature -- but that is a question, too. Is the SE implementation of unique jobs affected by the reliable scheduler, too?
Thanks for reading.
Martin