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

某个数据可以单独设置过期时间么? #8

Open
stonelu opened this issue Feb 15, 2022 · 1 comment
Open

某个数据可以单独设置过期时间么? #8

stonelu opened this issue Feb 15, 2022 · 1 comment

Comments

@stonelu
Copy link

stonelu commented Feb 15, 2022

如果不用LRU-2,某些经常获取的数据,我希望可以单独延长过期时间,是否可以增加这样的接口?

@orca-zhang
Copy link
Owner

可以参考常见问题2噢,热点数据可以分开存储,也可以用Inspect方法DIY把两个或多个实例关联起来,做成冷热分层

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