0.13.0
Releases
crate | version |
---|---|
foyer | 0.13.0 |
foyer-common | 0.13.0 |
foyer-memory | 0.13.0 |
foyer-storage | 0.13.0 |
foyer-bench | 0.13.0 |
Changes
- Refine in-memory cache framework:
- Allow "get"/"release"/"entry drop" to acquire read lock or lock-free if the algorithm allows.
- Make most
Eviction
APIs safe, only acquire unsafe Rust while accessing algorithm managed per-entry state withUnsafeCell
. - Replace the "reinsertion" design with
release
with real "release last ref" design. - Rename some APIs.
- Refine metrics framework:
- Replace
metrics
with customized metrics framework to support various metrics backend. - Implement built-in metrics exporter that adapts to crate
prometheus
/prometheus-client
/opentelemetry
.
- Replace
What's Changed
- feat: support no disk (mem only) for foyer bench by @MrCroxx in #773
- feat: use equivalent to loose the key trait bounds by @MrCroxx in #774
- refactor: use workspace lint rules for active crates by @MrCroxx in #776
- chore: update metrics and ot deps by @MrCroxx in #782
- chore: add warning when region count is smaller than expected by @MrCroxx in #784
- feat: simplify foyer in-memory cache framework by @MrCroxx in #785
- fix: fix insert ephemeral by @MrCroxx in #786
- refactor: wrapper no/immutable/mutable op into Op by @MrCroxx in #788
- chore: update default grafana view to a mroe compacted layout by @MrCroxx in #781
- feat: introduce metrics framework for different metrics backend by @MrCroxx in #790
- feat: introduce both opentelemetry 0.26 and 0.27 exporter by @MrCroxx in #793
- feat: support in-memory cache online resize by @MrCroxx in #794
- fix: fix lru high priority weight calculation by @MrCroxx in #797
- doc: add example for export metrics with prometheus and hyper by @MrCroxx in #799
- feat: support multiple foyer instance share the same prometheus by @MrCroxx in #801
- refacor: give hybrid cache builder a default metrics registry type by @MrCroxx in #803
- refactor: export metrics exporters in mod level by @MrCroxx in #804
- feat: support prometheus-client metrics exporter by @MrCroxx in #805
- chore: add slatedb as a show case by @MrCroxx in #709
- chore: update "Other Examples" in readme by @MrCroxx in #806
- chore: make clippy happy with rust 1.83.0 by @MrCroxx in #807
- chore: upgrade hashbrown deps to 0.15 by @MrCroxx in #809
- chore: upgrade deps by @MrCroxx in #810
- chore: release foyer v0.13.0 by @MrCroxx in #811
Full Changelog: 0.12.2...0.13.0