{"repo":"foyer-rs/foyer","free":true,"listed":false,"github":"https://github.com/foyer-rs/foyer","clone":"git clone https://github.com/foyer-rs/foyer.git","description":"Hybrid in-memory and disk cache in Rust","language":"Rust","stars":1789,"topics":["hybrid-cache","rust","cache"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"foyer foyer aims to be an efficient and user-friendly hybrid cache lib in Rust. foyer draws inspiration from Facebook/CacheLib, a highly-regarded hybrid cache library written in C++, and ben-manes/caffeine, a popular Java caching library, among other projects. However, foyer is more than just a rewrite in Rust effort; it introduces a variety of new and optimized features. API Docs Crate Features - Hybrid Cache : Seamlessly integrates both in-memory and disk cache for optimal performance and flexibility. - Plug-and-Play Algorithms : Empowers users with easily replaceable caching algorithms, ensuring adaptability to diverse use cases. - Fearless Concurrency : Built to handle high concurrency with robust thread-safe mechanisms, guaranteeing reliable performance under heavy loads. - Zero-Copy In-Memory Cache Abstraction : Leveraging Rust's robust type system, the in-memory cache in foyer achieves a better performance with zero-copy abstraction. - User-Friendly Interface : Offers a simple and intuitive API, making cache integration effortless and accessible for developers of all levels. - Out-of-the-Box Observability : Integrate popular observation systems such as Prometheus, Grafana, Opentelemetry, and Jaeger in just ONE line. Projects Using foyer Feel free to open a PR and add your projects here: - RisingWave: SQL stream processing, analytics, and management. - Chroma: Embedding database for LLM apps. - SlateDB: A cloud native embedded storage engine built on object storage. - Z","default_branch":null,"files":null,"tree":[],"storefront":"/r/foyer-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/foyer-rs/foyer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}