Replies: 1 comment 5 replies
-
Hi @victorfgs, So you answered the most obvious question by sharing the keys you are using. I know you are on v7+ version but which one specifically? The next thing that would be helpful is to learn what types of locks you are using. There are some things about the Explaining the lock mechanism is not easy because it depends on the lock itself. I'll get back to you next week on that because I don't have time to give the answer the attention to detail it deserves this week. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there 👋
I am currently monitoring usage in my production redis instance and some things came to my attention. For the past 4 months this server slowly but surely build up a little of a memory bloat and is currently holding approximately 75 keys matching the
*uniquejobs*
pattern even though there are no jobs running, scheduled or on the retry set.Breaking down these 75k keys, there was a distribution in something like:
uniquejobs:*INFO*
patternuniquejobs:*PRIMED*
patternuniquejobs:*RUN*
patternIt was then that I realized that:
This got me curious: how the gem organizes its data on redis? As far as I understood, there is a digest and this digest hold some info about the lock in question but I could not find documentation about how to use this info and I could not find about what any of these states represent (QUEUED and INFO are quite obvious) and why they were not deleted from my redis.
If these docs really do not exist I'd love to contribute to add them. This gem helps us everyday @QultureRocks and it will be a pleasure to help :)
Best,
Beta Was this translation helpful? Give feedback.
All reactions