sidekiq-unique-jobs
sidekiq-unique-jobs copied to clipboard
Documentation - Diagram - Redis keys
I'd like to ask if there already is or if you could add documentation about Redis keys and maybe a flow chart?
E.g. what is "AVAILABLE", "EXISTS" and "GRABBED" keys in Redis?
Sometimes we have problems that digest is not anymore under unique:*
but there are locks under uniquejobs:*
and we need to manually delete the keys via RedisCommander I thought these two should be synchronized...
Anyway better understanding about how Unique Jobs works could help everyone to better debug their code and background jobs.
I am currently working on adding some transparency and rethinking logging which would also help. Not able to cut out as much time as I would like but I appreciate your suggestion.
As for the the digests being split between unique:*
and uniquejobs:*
it sounds like a bug... Do you have multiple services/workers against the same redis instance?
Thanks for the suggestion @Laykou. I'll see if I can whip together something for the v7 release.