sidekiq_alive 2.4.0
SidekiqAlive offers a solution to add liveness probe of a Sidekiq instance. How? A http server is started and on each requests validates that a liveness key is stored in Redis. If it is there means is working. A Sidekiq job is the responsable to storing this key. If Sidekiq stops processing jobs this key gets expired by Redis an consequently the http server will return a 500 error. This Job is responsible to requeue itself for the next liveness probe.
Gemfile:
=
install:
=
Development Dependencies (7):
bundler
> 1.16
debug
~> 1.6
rake
~> 13.0
rspec
~> 3.0
rspec-sidekiq
~> 4.0
rubocop-shopify
~> 2.10
solargraph
~> 0.50.0