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

Implement TTL (Time-To-Live) Support for Cache Entries ⏳ #26

Open
0xnullifier opened this issue Dec 16, 2024 · 0 comments
Open

Implement TTL (Time-To-Live) Support for Cache Entries ⏳ #26

0xnullifier opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request hard Damn you believe yourself too much (not a thing) I dare you to solve these!

Comments

@0xnullifier
Copy link
Collaborator

Add support for expiring cache entries after a specified time period. This will help manage memory usage and ensure data freshness.

What is TTL?

Time-To-Live (TTL) specifies how long a cache entry should be considered valid. After the TTL expires, the entry should be removed from the cache.

You have to do the following:

  • Add expiration to key-value pairs
  • Implement background cleanup
  • Add TTL queries
  • Handle expired key access

TTL is hard topic so this will be counted as reopened multiple types issues.

@0xnullifier 0xnullifier added enhancement New feature or request hard Damn you believe yourself too much (not a thing) I dare you to solve these! labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hard Damn you believe yourself too much (not a thing) I dare you to solve these!
Projects
None yet
Development

No branches or pull requests

1 participant