#foyer #opendal #layer #read #cache #statistics

opendal-foyer

foyer layer for opendal

Show the crate…

6 releases

Uses new Rust 2024

0.2.2 Jan 19, 2026
0.2.1 Jan 14, 2026
0.2.0 Dec 18, 2025
0.1.2 Dec 4, 2025
0.1.1 Nov 21, 2025

#33 in #opendal

Download history 178/week @ 2025-11-20 291/week @ 2025-11-27 202/week @ 2025-12-04 223/week @ 2025-12-11 188/week @ 2025-12-18 22/week @ 2025-12-25 235/week @ 2026-01-01 187/week @ 2026-01-08 242/week @ 2026-01-15 68/week @ 2026-01-22

732 downloads per month

MPL-2.0 license

30KB
474 lines

opendal-foyer

An opendal Layer that uses foyer to cache reads.

Missing features

Currently, none of the read and stat capabilities (i.e. If-Match, If-None-Match, etc.) are supported by this crate. We do not plan on adding support for these, as our use-case does not require it, but welcome contributions to do so.

Similarly, only the read() and stat() operations are currently integrated with the cache. We welcome contributions to integrate the other operations.

Finally, the caching layer currently expects files to never change (i.e. the cache does not get invalidated when modifying a file's content, renaming it, etc.).

Dependencies

~29–50MB
~710K SLoC