sidekiq-alive-next 2.2.1
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:
=
instalar:
=
Development Dependencies (8):
bundler
> 1.16
mock_redis
>= 0
rack-test
>= 0
rake
~> 13.0
rspec
~> 3.0
rspec-sidekiq
~> 3.0
rubocop-shopify
~> 2.10
solargraph
~> 0.47.2