-
Notifications
You must be signed in to change notification settings - Fork 306
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 request] 提供将lazy_cache写入内存的选项 #778
Comments
size: 1024 |
缓存本来就是在内存里,dump 只是让你重启服务时,可以从文件中重新读取缓存到内存里使用。如果考虑到存储器读写问题,只需要增加 dump 间隔 |
原来如此。我还有一个小问题,内存中的缓存大小的管理应该是自动的吧?想说能不能手动指定占用大小,还是说其实没必要。 |
它不是根据你设置来的吗 缓存条目数量
发自我的iPhone
… 在 2024年1月7日,19:20,Evan Gao ***@***.***> 写道:
原来如此。我还有一个小问题,内存中的缓存大小应该是自动的吧?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
希望添加的功能
对于一般的机器来说目前的lazy_cache是没有问题的。但是对于树莓派这种使用TF卡作为存储的单板机来说频繁写入容易降低寿命。希望能够增加一个小开关让用户选择是否将缓存写入内存,毕竟Pi 5有8G内存,不用用也挺浪费的。
祝元旦快乐
The text was updated successfully, but these errors were encountered: