Hybrid Caching in .NET
summary
Compares two concrete implementations: FusionCache (open source, created 2020, used by Microsoft’s Data API Builder) and Microsoft HybridCache (abstraction introduced in .NET 9, implementation 2025). FusionCache provides deterministic stampede protection, fail‑safe, eager refresh, factory timeouts, optional backplane for instant multi‑node coherence, sync+async APIs and netstandard2.0 support; Microsoft’s implementation is async‑only, single instance by DI, lacks a backplane and has nondeterministic factory execution — adapter lets FusionCache satisfy the new abstraction.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:51Types of caches
- 6:54Benefits of hybrid caching
- 13:35Hybrid vs multi-level
- 16:04FusionCache overview
- 22:12Addressing cache stampede
- 25:55Resiliency via fail-safe
- 30:38Performance and optimizations
- 36:42Scaling and cache coherence
- 41:10Microsoft HybridCache
- 46:54Advanced hybrid strategies
- 57:52Conclusion
related talks
53mLeveraging Caching For Cloud Native Applications
01h 02mHow to Scale .NET Apps with Distributed Caching
44mHow to speed up your application using JCache
49mCache à la carte: a framework for in-memory caching
45mWhere is my cache? Architectural patterns for caching microservices by example
17mScalaCache: Scalable User-Space Page Cache Management with Software-Hardware...
48mCaching in the Cloud
16mNyxCache: Flexible and Efficient Multi-tenant Persistent Memory Caching
