-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add TTL support for CSC #4115
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
Add TTL support for CSC #4115
Conversation
Can someone help me take a look at this PR? :D |
Hi @wp973 Thank you for your contribution! The team is currently busy, so it may take some time before we can take a closer look at the suggested changes. A brief review suggests that this PR could introduce significant performance considerations, especially for larger caches. Given that, I don’t think we should go down the path of implementing a full-blown cache within the project. This feature request requires further discussion. Let's open an Issue where we can better understand the use cases and explore alternative approaches. One potential direction could be providing an example of an adapter using a third-party caching library instead of maintaining a custom implementation. |
@ggivo This is very helpful for me, thanks! :D Using popular third-party caching library(e.g, Caffeine) is a good choice, but it will also introduce third-party dependencies. Is this acceptable to Jedis? |
I don't think we should add a third-party dependency but just document/provide an example how to create an adapter of the |
Related to #4117 |
Got it. Maybe I can try to provide an example. :D |
This pull request is marked stale. It will be closed in 30 days if it is not updated. |
Add TTL support for CSC.