foyer
foyer copied to clipboard
Hybrid memory and disk cache in Rust
There are verbose warning/info logs that will stress the user's production environment. Let's refine them. - [x] Channel overflow warn log. #921 - [ ] ...
Since `Dev` function calls always involve disk I/O, where dynamic dispatch won't add slight overhead. Let's make it object-safe and use dyn to make code simpler.
By "cache policy" here means caching entry `in-memory only`/`in-disk only`/`hybrid`.
Hi. In the `mokabench` result https://github.com/moka-rs/mokabench/pull/20#issuecomment-2080429290, `foyer` had lower hit ratio than `moka` in the same workload. | Cache | Size | Num Clients | Hit Ratio (Higher is better)...
Signed-off-by: MrCroxx ## What's changed and what's your intention? > Please explain **IN DETAIL** what the changes are in this PR and why they are needed. :D Introduce manifest file...
Dynamically adjust the admission rate based on the sampling.
FYI https://github.com/foyer-rs/foyer/pull/859#pullrequestreview-2608776551