Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable PUBLISH events on Key expiry 2.2 #99

Closed
wants to merge 164 commits into from

Conversation

maxpert
Copy link

@maxpert maxpert commented Sep 22, 2011

I've been working with redis lately [http://maxpert.tumblr.com/post/10319226886/a-journey-to-center-of-redis blog post describes the whole problem and reasons], so while working with some of my problems I've added this new feature in Redis that's configurable (you can enable disable it) and makes Redis do a PUBLISH on key expiration. I would love this feature to be part of upcoming redis versions, so I am starting off with code directly.

pietern and others added 30 commits December 7, 2010 23:21
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
antirez and others added 26 commits July 15, 2011 18:00
…nt structure. This is generally a more sounding design, simplifies a few functions prototype, and as a side effect fixes a bug related to the conversion of EXPIRE -1 to DEL: before of this fix Redis tried to convert it into an EXPIREAT in the AOF code, regardless of our rewrite of the command.
…utput queue AND if the static buffer is empty. This bug was the cause of a possible server-stop-responding-to-client bug under some specific work load. Thanks to Pieter Noordhuis for spotting and fixing it.
…n order to traverse the minimal number of elements. Thanks to Didier Spezia for noticing the problem and providing a patch.
@antirez
Copy link
Contributor

antirez commented Sep 22, 2011

Hello, closing this pull request as it is a duplicated of #83

Please comment there if possible linking your proposed implementation and design.

Thanks,
Salvatore

@antirez antirez closed this Sep 22, 2011
KFilipek added a commit to zhouyuan/redis that referenced this pull request Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants