Sidekiq Session Two

Sidekiq Session Two


API

ScheduledSet

Others

Sidekiq::Stats::History

Sidekiq Pro

Pause & Reliability

To configure in sidekiq.rb

Sidekiq::client.reliable_push! ... # in client
config.reliable_scheduler! ... # in server

Pause

q = Sidekiq::Queue.new
q.pause!
...

Batch & Notifications

Create a batch of jobs

Notifications

Callbacks are implemented using this setup and callback hook

batch.on(:success, ...) # set up the call back on success, there is a on failure as well
def on_sucess(...) # defines the handler on callback

Expiring job & filtering Web UI