Ross ROSS = Recommend OSS · open-source software intelligence for agents

foyer-rs/foyer

Hybrid in-memory and disk cache in Rust observed · 2026-08-28

github.com/foyer-rs/foyer · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

85/100

  • Activity 99
  • Release rhythm 67
  • Longevity 86
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 8.5
  • age_days: 1209
  • days_rel: 222
  • days_push: 10
  • n_releases_24m: 35

Full methodology

Adoption not part of the score

1797 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Foyer is a Rust library providing a hybrid cache that seamlessly combines in-memory and disk caching with pluggable eviction algorithms. It offers a thread-safe, zero-copy in-memory abstraction and one-line integration with observability systems like Prometheus and OpenTelemetry.

Use cases

  • add a hybrid in-memory and disk cache to a Rust application
  • cache hot data in memory and spill to disk in Rust
  • replace CacheLib-style hybrid caching in a Rust project
  • plug in custom eviction algorithms for a cache
  • monitor cache hit rates with Prometheus metrics
  • speed up a database or storage engine with a caching layer

When to choose

  • you need both memory and disk tiers in one cache API
  • you want pluggable, replaceable caching algorithms
  • you need high-concurrency, thread-safe caching in Rust
  • you want built-in observability integrations

When to avoid

  • you only need a simple in-memory cache with no disk tier
  • you are not working in Rust
  • you need a distributed, networked cache rather than an embedded library

Facets

library · maturity active

caching monitoring databases performance developer-tools rust windows hybrid-cache disk-cache in-memory-cache thread-safe zero-copy prometheus observability linux macos

3 sources

Member repositories

RepositoryRoleHealth v2
foyer-rs/foyermain85

For agents

markdown · JSON · MCP: product_card(name="foyer-rs/foyer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem