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

Use hash instead of 3 keys #32

Closed
wants to merge 1 commit into from

Conversation

promag
Copy link
Contributor

@promag promag commented Feb 1, 2017

Use hash instead of 3 keys. Redis will have less volatile keys and the expiration is atomic. This also allows the use of atomic decrement (hincrby with -1).

@promag promag force-pushed the enhancement/use-hash branch 6 times, most recently from 5bb66e7 to 0bd7a1b Compare February 2, 2017 11:15
@promag promag force-pushed the enhancement/use-hash branch from 0bd7a1b to 913081a Compare February 3, 2017 12:27
@promag
Copy link
Contributor Author

promag commented Feb 7, 2017

I've pushed an alternative implementation in #33.

@promag promag closed this Feb 7, 2017
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.

1 participant