# ZiggyCreatures/FusionCache

FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.

Repository: https://github.com/ZiggyCreatures/FusionCache
Canonical: https://ross.abutalabs.com/products/fusioncache
Language: C#
License: MIT
License Family: permissive
Topics: caching, cache, multi-level, performance, async, dotnet, csharp, stampede, cache-stampede, hybrid, hybrid-cache
Last push: 2026-08-26T09:11:23+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2071, "days_push": 7, "days_rel": 7, "gap_med": 51, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3897, forks 202 (observed 2026-08-28T04:08:28.512398+00:00)

## What it is
FusionCache is a .NET caching library providing a fast, robust hybrid cache that works as a memory cache (L1) or multi-level cache with any IDistributedCache-based L2. It includes advanced resiliency features such as cache stampede protection, fail-safe, soft/hard timeouts, eager refresh, tagging, and OpenTelemetry observability.

## Use cases
- cache expensive database queries in a .NET app
- add a distributed second-level cache with Redis via IDistributedCache
- prevent cache stampedes when many requests miss at once
- serve stale data when the backend fails (fail-safe)
- sync cache invalidation across multiple nodes with a backplane
- migrate to or integrate with Microsoft's HybridCache
- track cache entries with tags and evict by tag

## When to choose
- you need a production-proven hybrid (L1+L2) cache in .NET
- you want stampede protection, timeouts, and fail-safe out of the box
- you need realtime cache sync between multiple app instances
- you want OpenTelemetry observability for cache operations

## When to avoid
- you only need a trivial in-memory cache with no resiliency features
- your stack is not .NET/C#
- you need a standalone distributed cache without a local L1 layer

## Facets
- artifact type: library
- maturity: stable
- function: caching, serialization, monitoring, logging
- domain: backend, web-development, developer-tools, performance, microservices
- platform: dotnet, cross-platform
- tags: cache-stampede-protection, hybrid-cache, l1-l2-cache, fail-safe, opentelemetry, idistributedcache, backplane, eager-refresh

## Member repositories
- ZiggyCreatures/FusionCache (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:28.512398+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:34.508391+00:00, confidence not recorded.
  - readme: https://github.com/ZiggyCreatures/FusionCache (fetched 2026-08-28T04:08:28.512398+00:00, sha 2fd0c06a154b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
