Overview of FusionCache
mainFusionCache is a high-performance, robust hybrid cache for .NET. It supports both single-level memory caching (L1) and multi-level caching (L1+L2). The second level (L2) can be any implementation of the standard IDistributedCache interface, providing better cold starts, horizontal scalability, and resiliency.
Key capabilities include:
- Resiliency: Cache stampede protection, fail-safe mechanisms, and auto-recovery.
- Performance: L1+L2 multi-level caching, backplane for multi-node synchronization, soft/hard timeouts, and eager refresh.
- Flexibility: Named caches, tagging, support for
nullcaching, and native Dependency Injection support. - Observability: Full support for OpenTelemetry, structured logging via
ILogger, and comprehensive events. - Compatibility: Works with Microsoft's
HybridCacheand targets .NET Standard 2.0.