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

[NEW] Add KeyDB's EXPIREMEMBER command #1315

Open
binaryfire opened this issue Nov 16, 2024 · 1 comment
Open

[NEW] Add KeyDB's EXPIREMEMBER command #1315

binaryfire opened this issue Nov 16, 2024 · 1 comment

Comments

@binaryfire
Copy link

binaryfire commented Nov 16, 2024

One of the main reasons we've been using KeyDB has been their EXPIREMEMBER command. See: https://docs.keydb.dev/blog/2021/06/08/blog-post/

Implementing tags in Redis is problematic because set members don't expire. The only solution is implementing complex application logic to remove expired keys from sets (otherwise you end up with a memory leak). And iterating over large datasets to perform the garbage collection isn't very performant.

EXPIREMEMBER solved all of this and was a real game changer. Unfortunately KeyDB isn't well maintained nowadays so we've finally decided to migrate our apps to Valkey. It would be great if the same command could be added to Valkey.

Also tagging @michael-grunder since I think you used to work on KeyDB?

@michael-grunder
Copy link
Contributor

I think there are plans to add this functionality. You can find the discussion/progress at #640.

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

No branches or pull requests

2 participants