We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the uniqueness check requires three network round trips to Redis for each job pushed:
Redis 2.6.12+ has new flags for set which potentially allow this operation with a single command:
set
conn.set(payload_hash, 1 || 2, nx: true, ex: expires_at)
You don't document a minimum Redis version but requiring Redis 2.6+ is your choice.
The text was updated successfully, but these errors were encountered:
To be honest, I'm not positive all the semantics are met by this change but the performance win is so big, I think it's something to consider.
Sorry, something went wrong.
2dd9044
Didn't really have to change anything except make it simpler. Thanks for the intel @mperham !
No branches or pull requests
Right now the uniqueness check requires three network round trips to Redis for each job pushed:
Redis 2.6.12+ has new flags for
set
which potentially allow this operation with a single command:You don't document a minimum Redis version but requiring Redis 2.6+ is your choice.
The text was updated successfully, but these errors were encountered: