sidekiq-unique-jobs icon indicating copy to clipboard operation
sidekiq-unique-jobs copied to clipboard

Documentation - Diagram - Redis keys

Open Laykou opened this issue 5 years ago • 2 comments

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.

Laykou avatar Mar 13 '19 07:03 Laykou

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?

mhenrixon avatar Mar 14 '19 10:03 mhenrixon

Thanks for the suggestion @Laykou. I'll see if I can whip together something for the v7 release.

mhenrixon avatar Jun 02 '19 17:06 mhenrixon