foyer
foyer copied to clipboard
Hybrid memory and disk cache in Rust
Implement TTL for `foyer-memory` and `foyer-storage` - [ ] Implement TTL for `foyer-memory`. - [ ] Implement TTL for `foyer-storage`.
error[E0432]: unresolved import `std::os::fd` --> E:\rust\.cargo\registry\src\rsproxy.cn-0dccff568467c15b\foyer-storage-0.3.0\src\device\fs.rs:17:9 | 17 | os::fd::{AsRawFd, BorrowedFd, RawFd}, | ^^ could not find `fd` in `os`
The original implementation uses a ring buffer to manage and limit memory usage. The new one, without the ring buffer, has no method but a rate limit admission policy only...
case should be avoided: ```plain t1: lookup index => [ scheduled ] => load data from device t2: reclaimer drop index => reclaimer wait reads finish ```
- [ ] foyer-storage architecture docs - [ ] foyer-intrusive architecture docs - [ ] foyer architecture docs (not planned yet, needed after foyer lib is complete)