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

[Feature] Support guava cache in CacheManager #4388

Closed
1 of 2 tasks
FangYongs opened this issue Oct 28, 2024 · 1 comment · Fixed by #4389
Closed
1 of 2 tasks

[Feature] Support guava cache in CacheManager #4388

FangYongs opened this issue Oct 28, 2024 · 1 comment · Fixed by #4389
Labels
enhancement New feature or request

Comments

@FangYongs
Copy link
Contributor

FangYongs commented Oct 28, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, the CacheManager uses Caffeine 2 to manage cached data. However, Caffeine 2 has an issue when evicting data using the LRU (Least Recently Used) strategy, which causes newly added data to be evicted. Although Caffeine 3 has already fixed this issue, it only supports Java 11 and above versions. Since quite a number of businesses and systems are still using Java 8, we'd like to support guava Cache in CacheManager.

Related to #4096 and #4141

Solution

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@FangYongs FangYongs added the enhancement New feature or request label Oct 28, 2024
@FangYongs
Copy link
Contributor Author

The discussion about java8 and java11 is in PR #4278 cc @JingsongLi @Aitozi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant